/
githubmirror
/
bash-completion
Обзор
Документация
Войти
/
githubmirror
/
bash-completion
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.1
completions/lisp
23 строки
661 B
Ville Skyttä
*: Line continuation, whitespace, and compgen -W ... -- "$cur" quoting cleanups.
18 фев 2013, 01:49
18 фев 2013, 01:49
6185297
Код
Авторство
О чём код?
# -*- shell-script -*- # bash programmable completion for various Common Lisp implementations by # Nikodemus Siivola <nikodemus@random-state.net> _lisp() { local cur prev words cword _init_completion || return # completing an option (may or may not be separated by a space) if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '-core -lib -batch -quit -edit -eval -init -dynamic-space-size -hinit -noinit -nositeinit -load -slave' \ -- "$cur" ) ) else _filedir fi return 0 } && complete -F _lisp -o default lisp # ex: ts=4 sw=4 et filetype=sh