aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-08-21 16:43:46 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-08-21 16:43:46 -0300
commitb3c2760b06af98eb47db82dfdc9cc0f6d8075c86 (patch)
tree6c66fcf606d7dd29cb01f1852321610acb805fea /lib
parent6ae4c3884701f31edbf84666a7b1b76dc01a1068 (diff)
downloadkeyringer-b3c2760b06af98eb47db82dfdc9cc0f6d8075c86.tar.gz
keyringer-b3c2760b06af98eb47db82dfdc9cc0f6d8075c86.tar.bz2
Minor zsh completion fixes
Diffstat (limited to 'lib')
-rw-r--r--lib/keyringer/completions/zsh/_keyringer4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/keyringer/completions/zsh/_keyringer b/lib/keyringer/completions/zsh/_keyringer
index 6142949..bd08a8c 100644
--- a/lib/keyringer/completions/zsh/_keyringer
+++ b/lib/keyringer/completions/zsh/_keyringer
@@ -70,7 +70,7 @@ _keyringer() {
case "$words[3]" in
recipients)
words[5]="$(echo $words[5] | sed -e "s|^/||")" # TODO: avoid leading slash
- compadd "$@" $(cd $keyring_path/config/recipients && ls --color=never -p $words[5]'*' 2> /dev/null)
+ compadd "$@" $(cd $keyring_path/config/recipients && ls --color=never -p $words[5]* 2> /dev/null)
;;
genpair)
words[5]="$(echo $words[5] | sed -e "s|^/||")" # TODO: avoid leading slash
@@ -87,7 +87,7 @@ _keyringer() {
esac
;;
*)
- if [ $words[3] == "git" ]; then
+ if [[ $words[3] == "git" ]]; then
# TODO
true
fi