diff options
Diffstat (limited to 'completions/apache2ctl')
-rw-r--r-- | completions/apache2ctl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/completions/apache2ctl b/completions/apache2ctl index fe2a2d7b..980b3c58 100644 --- a/completions/apache2ctl +++ b/completions/apache2ctl @@ -6,11 +6,11 @@ _apache2ctl() _init_completion || return local APWORDS - APWORDS=$($1 2>&1 >/dev/null | awk 'NR<2 { print $3; exit }' | \ + APWORDS=$($1 2>&1 >/dev/null | awk 'NR<2 { print $3; exit }' | tr "|" " ") - COMPREPLY=( $(compgen -W "$APWORDS" -- "$cur") ) + COMPREPLY=($(compgen -W "$APWORDS" -- "$cur")) } && -complete -F _apache2ctl apache2ctl + complete -F _apache2ctl apache2ctl # ex: filetype=sh |