summaryrefslogtreecommitdiff
path: root/completions/unshunt
diff options
context:
space:
mode:
Diffstat (limited to 'completions/unshunt')
-rw-r--r--completions/unshunt6
1 files changed, 3 insertions, 3 deletions
diff --git a/completions/unshunt b/completions/unshunt
index 214fa423..95a16015 100644
--- a/completions/unshunt
+++ b/completions/unshunt
@@ -5,13 +5,13 @@ _unshunt()
local cur prev words cword
_init_completion || return
- if [[ "$cur" == -* ]]; then
- COMPREPLY=( $(compgen -W '$(_parse_help "$1")' -- "$cur") )
+ if [[ $cur == -* ]]; then
+ COMPREPLY=($(compgen -W '$(_parse_help "$1")' -- "$cur"))
else
_filedir -d
fi
} &&
-complete -F _unshunt unshunt
+ complete -F _unshunt unshunt
# ex: filetype=sh