/
githubmirror
/
bash-completion
Обзор
Документация
Войти
/
githubmirror
/
bash-completion
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
completions-core/munin-run.bash
25 строк
565 B
Ville Skyttä
chore: remove most editor mode config comments
01 июн 2026, 21:26
01 июн 2026, 21:26
bdeca44
Код
Авторство
О чём код?
# munin-run completion _comp_cmd_munin_run() { local cur prev words cword comp_args _comp_initialize -- "$@" || return case $prev in --config | --sconffile) _comp_compgen_filedir return ;; --servicedir | --sconfdir) _comp_compgen_filedir -d return ;; esac if [[ $cur == -* ]]; then _comp_compgen_help else _comp_compgen_split -- "$(command ls /etc/munin/plugins 2>/dev/null)" fi } && complete -F _comp_cmd_munin_run munin-run