diff options
Diffstat (limited to 'completions/withlist')
-rw-r--r-- | completions/withlist | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/completions/withlist b/completions/withlist index cd030a27..4142471e 100644 --- a/completions/withlist +++ b/completions/withlist @@ -5,14 +5,14 @@ _withlist() local cur prev words cword _init_completion || return - if [[ "$cur" == -* ]]; then - COMPREPLY=( $(compgen -W '--lock --interactive --run --all --quiet - --help' -- "$cur") ) + if [[ $cur == -* ]]; then + COMPREPLY=($(compgen -W '--lock --interactive --run --all --quiet + --help' -- "$cur")) else _xfunc list_lists _mailman_lists fi } && -complete -F _withlist withlist + complete -F _withlist withlist # ex: filetype=sh |