diff options
Diffstat (limited to 'completions/clisp')
-rw-r--r-- | completions/clisp | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/completions/clisp b/completions/clisp index 074f692c..fd19b252 100644 --- a/completions/clisp +++ b/completions/clisp @@ -1,13 +1,11 @@ +# -*- shell-script -*- # bash brogrammable completion for various Common Lisp implementations by # Nikodemus Siivola <nikodemus@random-state.net> -have clisp && _clisp() { - local cur - - COMPREPLY=() - _get_comp_words_by_ref cur + local cur prev words cword + _init_completion || return # completing an option (may or may not be separated by a space) if [[ "$cur" == -* ]]; then @@ -22,10 +20,4 @@ _clisp() } && complete -F _clisp -o default clisp -# Local variables: -# mode: shell-script -# sh-basic-offset: 4 -# sh-indent-comment: t -# indent-tabs-mode: nil -# End: # ex: ts=4 sw=4 et filetype=sh |