summaryrefslogtreecommitdiff
path: root/completions/aclocal
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/aclocal
parent019f3cc463db63abc6460f97deb488deec43840b (diff)
downloadbash-completion-upstream/2.11.tar.gz
New upstream version 2.11upstream/2.11upstream
Diffstat (limited to 'completions/aclocal')
-rw-r--r--completions/aclocal18
1 files changed, 9 insertions, 9 deletions
diff --git a/completions/aclocal b/completions/aclocal
index f0cc6114..010862fb 100644
--- a/completions/aclocal
+++ b/completions/aclocal
@@ -6,10 +6,10 @@ _aclocal()
_init_completion -s || return
case "$prev" in
- --help|--print-ac-dir|--version)
+ --help | --print-ac-dir | --version)
return
;;
- --acdir|-I)
+ --acdir | -I)
_filedir -d
return
;;
@@ -17,19 +17,19 @@ _aclocal()
_filedir
return
;;
- --warnings|-W)
- local cats=( syntax unsupported )
- COMPREPLY=( $(compgen -W \
- '${cats[@]} ${cats[@]/#/no-} all none error' -- "$cur") )
+ --warnings | -W)
+ local cats=(syntax unsupported)
+ COMPREPLY=($(compgen -W \
+ '${cats[@]} ${cats[@]/#/no-} all none error' -- "$cur"))
return
;;
esac
$split && return
- COMPREPLY=( $(compgen -W '$(_parse_help "$1")' -- "$cur") )
- [[ $COMPREPLY == *= ]] && compopt -o nospace
+ COMPREPLY=($(compgen -W '$(_parse_help "$1")' -- "$cur"))
+ [[ ${COMPREPLY-} == *= ]] && compopt -o nospace
} &&
-complete -F _aclocal aclocal aclocal-1.1{0..6}
+ complete -F _aclocal aclocal aclocal-1.1{0..6}
# ex: filetype=sh