summaryrefslogtreecommitdiff
path: root/completions/apache2ctl
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gabriel@inconstante.net.br>2020-08-03 18:43:13 -0300
committerGabriel F. T. Gomes <gabriel@inconstante.net.br>2020-08-03 18:43:13 -0300
commit95623d39d6029ba78ec96ad5ea08e9ac12629b91 (patch)
treeea0fe36eb5e6f40e0a1f765d44c4b0c0b2bfb089 /completions/apache2ctl
parent019f3cc463db63abc6460f97deb488deec43840b (diff)
downloadbash-completion-95623d39d6029ba78ec96ad5ea08e9ac12629b91.tar.gz
New upstream version 2.11upstream/2.11upstream
Diffstat (limited to 'completions/apache2ctl')
-rw-r--r--completions/apache2ctl6
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