/
githubmirror
/
bash-completion
Обзор
Документация
Войти
/
githubmirror
/
bash-completion
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.9
completions/munindoc
13 строк
318 B
Ville Skyttä
*: remove spaces immediately within $()
14 апр 2019, 19:07
14 апр 2019, 19:07
90e380b
Код
Авторство
О чём код?
# munindoc completion -*- shell-script -*- _munindoc() { local cur prev words cword _init_completion || return COMPREPLY=( $(compgen -W \ '$(command ls /usr/share/munin/plugins 2>/dev/null)' -- "$cur") ) } && complete -F _munindoc munindoc # ex: filetype=sh