/
githubmirror
/
bash-completion
Обзор
Документация
Войти
/
githubmirror
/
bash-completion
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.7
completions/mailmanctl
18 строк
469 B
Ville Skyttä
*: Move indentation settings to .editorconfig
24 авг 2016, 14:33
24 авг 2016, 14:33
619fb1f
Код
Авторство
О чём код?
# mailmanctl completion -*- shell-script -*- _mailmanctl() { local cur prev words cword _init_completion || return if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '--no-restart --run-as-user --stale-lock-cleanup --quiet --help' -- "$cur" ) ) else COMPREPLY=( $( compgen -W 'start stop restart reopen' -- "$cur" ) ) fi } && complete -F _mailmanctl mailmanctl # ex: filetype=sh