From: Silvio Rhatto Date: Fri, 27 Sep 2013 22:34:22 +0000 (-0300) Subject: Declare more variables as local at zsh completion X-Git-Tag: 0.2.6~19 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=24b437701370441190d87f1962b81ea341214a1b;p=keyringer.git Declare more variables as local at zsh completion --- 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' \