summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/keyringer/completions/bash7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/keyringer/completions/bash b/lib/keyringer/completions/bash
index 403bb11..dd8b8e9 100644
--- a/lib/keyringer/completions/bash
+++ b/lib/keyringer/completions/bash
@@ -37,12 +37,9 @@ _keyringer() {
ls)
# TODO
if [ -z "${cur}" ]; then
- # List folders with leading slash and remove @ symlink indicator
- #opts="`ls --file-type -1 $path/keys | sed -e 's/@$//'`"
- opts="`keyringer $instance ls --file-type -1 | sed -e 's/@$//'`"
+ opts="`keyringer $instance ls -p`"
else
- #opts="`ls --file-type -1 -d $path/keys/${cur}* | sed -e 's/@$//'`"
- opts="`keyringer $instance ls --file-type -1 -d ${cur}* | sed -e 's/@$//'`"
+ opts="`keyringer $instance ls -p -d ${cur}*`"
fi
;;
*)