summaryrefslogtreecommitdiff
path: root/completions/sbcl
diff options
context:
space:
mode:
Diffstat (limited to 'completions/sbcl')
-rw-r--r--completions/sbcl14
1 files changed, 3 insertions, 11 deletions
diff --git a/completions/sbcl b/completions/sbcl
index 33671a6e..28cb9d80 100644
--- a/completions/sbcl
+++ b/completions/sbcl
@@ -1,13 +1,11 @@
+# -*- shell-script -*-
# bash programmable completion for various Common Lisp implementations by
# Nikodemus Siivola <nikodemus@random-state.net>
-have sbcl || have sbcl-mt &&
_sbcl()
{
- 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 @@ _sbcl()
} &&
complete -F _sbcl sbcl sbcl-mt
-# 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