summaryrefslogtreecommitdiff
path: root/completions/makepkg
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gabriel@inconstante.eti.br>2017-09-25 23:46:54 -0300
committerGabriel F. T. Gomes <gabriel@inconstante.eti.br>2017-09-25 23:46:54 -0300
commit6d88f1055806932d9291f96847d2b691cccda2cd (patch)
tree0ff79eedaa8a239331256048981deedbd0721965 /completions/makepkg
parent059a87a5936cfebfd2d71ab8057002cafb2ea051 (diff)
downloadbash-completion-6d88f1055806932d9291f96847d2b691cccda2cd.tar.gz
New upstream version 2.7upstream/2.7
Diffstat (limited to 'completions/makepkg')
-rw-r--r--completions/makepkg9
1 files changed, 5 insertions, 4 deletions
diff --git a/completions/makepkg b/completions/makepkg
index 3aa836e5..84b4af79 100644
--- a/completions/makepkg
+++ b/completions/makepkg
@@ -8,17 +8,18 @@ _makepkg()
case "$prev" in
-l|--linkadd|-c|--chown)
COMPREPLY=( $( compgen -W 'y n' -- "$cur" ) )
- return 0
+ return
;;
esac
if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W '-l --linkadd -p --prepend -c --chown' \
-- "$cur" ) )
- return 0
+ return
fi
_filedir
-} && complete -F _makepkg makepkg
+} &&
+complete -F _makepkg makepkg
-# ex: ts=4 sw=4 et filetype=sh
+# ex: filetype=sh