summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-09-27 19:34:22 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-09-27 19:34:22 -0300
commit24b437701370441190d87f1962b81ea341214a1b (patch)
treea7c965f42ddbd424fef2471321f21cd027ecaff7
parentc833244977664b9df9af54a008cdf1c97baf2953 (diff)
downloadkeyringer-24b437701370441190d87f1962b81ea341214a1b.tar.gz
keyringer-24b437701370441190d87f1962b81ea341214a1b.tar.bz2
Declare more variables as local at zsh completion
-rw-r--r--lib/keyringer/completions/zsh/_keyringer2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/keyringer/completions/zsh/_keyringer b/lib/keyringer/completions/zsh/_keyringer
index ec7f655..6f26993 100644
--- a/lib/keyringer/completions/zsh/_keyringer
+++ b/lib/keyringer/completions/zsh/_keyringer
@@ -21,7 +21,7 @@ _keyringer() {
# Process config
local keyrings="`ls --color=never $config | sed -e 's/config//'`"
source $config/config
- keyring_path="`eval echo '$'$words[2]`"
+ local keyring_path="`eval echo '$'$words[2]`"
_arguments \
'1: :->keyring' \