summaryrefslogtreecommitdiff
path: root/completions/installpkg
diff options
context:
space:
mode:
Diffstat (limited to 'completions/installpkg')
-rw-r--r--completions/installpkg15
1 files changed, 8 insertions, 7 deletions
diff --git a/completions/installpkg b/completions/installpkg
index cdaf816c..f002f775 100644
--- a/completions/installpkg
+++ b/completions/installpkg
@@ -8,25 +8,26 @@ _installpkg()
case "$prev" in
--root)
_filedir -d
- return 0
+ return
;;
--priority)
COMPREPLY=( $( compgen -W 'ADD REC OPT SKP' -- "$cur" ) )
- return 0
+ return
;;
--tagfile)
_filedir
- return 0
+ return
;;
esac
if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W '--warn --md5sum --root --infobox --terse
--menu --ask --priority --tagfile' -- "$cur" ) )
- return 0
+ return
fi
- _filedir "t[bglx]z"
-} && complete -F _installpkg installpkg
+ _filedir 't[bglx]z'
+} &&
+complete -F _installpkg installpkg
-# ex: ts=4 sw=4 et filetype=sh
+# ex: filetype=sh