/
githubmirror
/
bash-completion
Обзор
Документация
Войти
/
githubmirror
/
bash-completion
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.8
completions/cksfv
29 строк
521 B
Ville Skyttä
*: Move indentation settings to .editorconfig
24 авг 2016, 14:33
24 авг 2016, 14:33
619fb1f
Код
Авторство
О чём код?
# cksfv completion by Chris <xris@forevermore.net> -*- shell-script -*- _cksfv() { local cur prev words cword _init_completion || return if [[ $cword -eq 1 ]]; then COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) ) return fi case "$prev" in -C|-g) _filedir -d return ;; -f) _filedir 'sfv' return ;; esac _filedir } && complete -F _cksfv cksfv # ex: filetype=sh