diff options
Diffstat (limited to 'completions/apache2ctl')
-rw-r--r-- | completions/apache2ctl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/completions/apache2ctl b/completions/apache2ctl index f6fdeb30..74789744 100644 --- a/completions/apache2ctl +++ b/completions/apache2ctl @@ -6,11 +6,11 @@ _apache2ctl() _init_completion || return local APWORDS - APWORDS=$(apache2ctl 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" ) ) } && complete -F _apache2ctl apache2ctl -# ex: ts=4 sw=4 et filetype=sh +# ex: filetype=sh |