/
githubmirror
/
bash-completion
Обзор
Документация
Войти
/
githubmirror
/
bash-completion
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4
completions/cleanarch
16 строк
367 B
Ville Skyttä
*: Line continuation, whitespace, and compgen -W ... -- "$cur" quoting cleanups.
18 фев 2013, 01:49
18 фев 2013, 01:49
6185297
Код
Авторство
О чём код?
# mailman cleanarch completion -*- shell-script -*- _cleanarch() { local cur prev words cword _init_completion || return if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '--status --dry-run --quiet --help' \ -- "$cur" ) ) fi } && complete -F _cleanarch cleanarch # ex: ts=4 sw=4 et filetype=sh