diff options
Diffstat (limited to 'completions/list_lists')
-rw-r--r-- | completions/list_lists | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/completions/list_lists b/completions/list_lists index c0807178..c5b9ba71 100644 --- a/completions/list_lists +++ b/completions/list_lists @@ -2,7 +2,7 @@ _mailman_lists() { - COMPREPLY=( $(compgen -W '$(list_lists -b 2>/dev/null)' -- "$cur") ) + COMPREPLY=($(compgen -W '$(list_lists -b 2>/dev/null)' -- "$cur")) } _list_lists() @@ -10,12 +10,12 @@ _list_lists() local cur prev words cword _init_completion || return - if [[ "$cur" == -* ]]; then - COMPREPLY=( $(compgen -W '--advertised --virtual-host-overview --bare - --help' -- "$cur") ) + if [[ $cur == -* ]]; then + COMPREPLY=($(compgen -W '--advertised --virtual-host-overview --bare + --help' -- "$cur")) fi } && -complete -F _list_lists list_lists + complete -F _list_lists list_lists # ex: filetype=sh |