summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/keyringer/completions/bash10
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/keyringer/completions/bash b/lib/keyringer/completions/bash
index 5b2f71d..c91a8ef 100644
--- a/lib/keyringer/completions/bash
+++ b/lib/keyringer/completions/bash
@@ -41,15 +41,6 @@ _keyringer() {
else
local append
opts="`keyringer $instance ls -p -d ${cur}* 2> /dev/null`"
-
- # Append the contents of each folder, one level down
- for opt in $opts; do
- if echo $opt | grep -qe '/$'; then
- append="$append `keyringer $instance ls -d $opt* 2> /dev/null`"
- fi
- done
-
- #opts="$opts $append"
fi
;;
*)
@@ -59,6 +50,7 @@ _keyringer() {
# Return the available options
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
+ [[ $COMPREPLY == */ ]] && compopt -o nospace
return 0
}