diff options
Diffstat (limited to 'completions/pwdx')
-rw-r--r-- | completions/pwdx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/completions/pwdx b/completions/pwdx index 675c41ff..25a1a1e1 100644 --- a/completions/pwdx +++ b/completions/pwdx @@ -6,7 +6,7 @@ _pwdx() _init_completion || return case $prev in - -h|--help|-V|--version) + -h | --help | -V | --version) return ;; esac @@ -14,11 +14,11 @@ _pwdx() if [[ $cur == -* ]]; then local help='$(_parse_help "$1")' [[ $help ]] || help=-V - COMPREPLY=( $(compgen -W "$help" -- "$cur") ) + COMPREPLY=($(compgen -W "$help" -- "$cur")) else _pids fi } && -complete -F _pwdx pwdx + complete -F _pwdx pwdx # ex: filetype=sh |