/
githubmirror
/
bash-completion
Обзор
Документация
Войти
/
githubmirror
/
bash-completion
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.0
completions/iftop
26 строк
527 B
Ville Skyttä
Move Emacs indentation settings from every file to .dir-locals.el.
02 ноя 2011, 00:14
02 ноя 2011, 00:14
0d10b94
Код
Авторство
О чём код?
# iftop(8) completion -*- shell-script -*- _iftop() { local cur prev words cword _init_completion || return case $prev in -h|-f|-F|-m) return 0 ;; -i) _available_interfaces -a return 0 ;; -c) _filedir return 0 ;; esac COMPREPLY=( $( compgen -W '$( _parse_help "$1" -h )' -- "$cur" ) ) } && complete -F _iftop iftop # ex: ts=4 sw=4 et filetype=sh