diff options
Diffstat (limited to '')
-rw-r--r-- | completions/qrunner | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/completions/qrunner b/completions/qrunner new file mode 100644 index 0000000..3919ea2 --- /dev/null +++ b/completions/qrunner @@ -0,0 +1,18 @@ +# mailman qrunner completion -*- shell-script -*- + +_qrunner() +{ + local cur prev words cword split + _init_completion -s || return + + $split && return + + if [[ $cur == -* ]]; then + COMPREPLY=($(compgen -W '--runner --once --list --verbose --subproc + --help' -- "$cur")) + fi + +} && + complete -F _qrunner qrunner + +# ex: filetype=sh |