From: Silvio Rhatto Date: Fri, 27 Sep 2013 22:33:26 +0000 (-0300) Subject: Declare more variables as local at bash completion X-Git-Tag: 0.2.6~20 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=c833244977664b9df9af54a008cdf1c97baf2953;p=keyringer.git Declare more variables as local at bash completion --- diff --git a/lib/keyringer/completions/bash/keyringer b/lib/keyringer/completions/bash/keyringer index 69f0055..63c917f 100644 --- a/lib/keyringer/completions/bash/keyringer +++ b/lib/keyringer/completions/bash/keyringer @@ -44,7 +44,7 @@ _keyringer_git_complete() { _keyringer() { # Standard stuff - local cur prev opts config + local cur prev command config path keyrings instances instance opts COMPREPLY=() cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}"