summaryrefslogtreecommitdiff
path: root/completions/pwck
diff options
context:
space:
mode:
Diffstat (limited to 'completions/pwck')
-rw-r--r--completions/pwck6
1 files changed, 3 insertions, 3 deletions
diff --git a/completions/pwck b/completions/pwck
index cc5f2e42..fa07b0e1 100644
--- a/completions/pwck
+++ b/completions/pwck
@@ -5,14 +5,14 @@ _pwck()
local cur prev words cword
_init_completion || return
- if [[ "$cur" == -* ]]; then
+ if [[ $cur == -* ]]; then
local opts=$(_parse_help "$1")
- COMPREPLY=( $(compgen -W '${opts:-$(_parse_usage "$1")}' -- "$cur") )
+ COMPREPLY=($(compgen -W '${opts:-$(_parse_usage "$1")}' -- "$cur"))
return
fi
_filedir
} &&
-complete -F _pwck pwck
+ complete -F _pwck pwck
# ex: filetype=sh