summaryrefslogtreecommitdiff
path: root/completions/slapt-get
diff options
context:
space:
mode:
Diffstat (limited to 'completions/slapt-get')
-rw-r--r--completions/slapt-get6
1 files changed, 2 insertions, 4 deletions
diff --git a/completions/slapt-get b/completions/slapt-get
index 02f007ec..ff42660a 100644
--- a/completions/slapt-get
+++ b/completions/slapt-get
@@ -1,4 +1,4 @@
-# slapt-get completion -*- shell-script -*-
+# slapt-get(8) completion -*- shell-script -*-
_slapt_get()
{
@@ -48,9 +48,7 @@ _slapt_get()
break
fi
done
- if [[ ! -r "$config" ]]; then
- return
- fi
+ [[ -r "$config" ]] || return
case $t in
all) # --show