commit 59d341e01374475745a7a0cc028b16be967e4582
parent 6a373286dd46c2b1d5c2a5c56e3bb559dbe6ebe5
Author: Alexander Burger <abu@software-lab.de>
Date: Fri, 30 Dec 2011 08:09:23 +0100
Bash completion, minor tunings
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/bash_completion b/lib/bash_completion
@@ -7,7 +7,7 @@ _pil()
local cur
_get_comp_words_by_ref cur
- COMPREPLY=($(${COMP_WORDS[0]} @lib/complete.l "$cur" -bye))
+ COMPREPLY=($(${COMP_WORDS[0]} @lib/complete.l "$cur" -bye +))
return 0
} &&
complete -F _pil pil
diff --git a/lib/complete.l b/lib/complete.l
@@ -1,4 +1,4 @@
-# 29dec11abu
+# 30dec11abu
# (c) Software Lab. Alexander Burger
(if (opt)
@@ -19,6 +19,6 @@
(and
(pre? "Str" "Sym")
(prinl "Path" "Sym") ) ) ) ) )
- (prinl "+ -bye") )
+ (prinl '+) )
# vi:et:ts=3:sw=3