diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/keyringer/completions/bash | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/keyringer/completions/bash b/lib/keyringer/completions/bash index c91a8ef..f962c6a 100644 --- a/lib/keyringer/completions/bash +++ b/lib/keyringer/completions/bash @@ -35,12 +35,10 @@ _keyringer() { opts="ls edit" ;; ls) - # TODO if [ -z "${cur}" ]; then opts="`keyringer $instance ls -p`" else - local append - opts="`keyringer $instance ls -p -d ${cur}* 2> /dev/null`" + opts="$(bash -c "set -f && keyringer $instance ls -p -d ${cur}*")" fi ;; *) |