diff options
author | Daniel Hahler <git@thequod.de> | 2018-01-24 21:41:11 +0100 |
---|---|---|
committer | Daniel Hahler <git@thequod.de> | 2018-01-24 21:55:27 +0100 |
commit | 2870302afa9baf4d1696541f8a1c95f55a6d3b30 (patch) | |
tree | 429435ab24bde6c7a7b61e74f5e4892e0edccd6b /Completion/Unix/Command | |
parent | 758966502caa6f91abcbaaebf2610609250de1fb (diff) | |
download | zsh-2870302afa9baf4d1696541f8a1c95f55a6d3b30.tar.gz zsh-2870302afa9baf4d1696541f8a1c95f55a6d3b30.tar.xz zsh-2870302afa9baf4d1696541f8a1c95f55a6d3b30.zip |
42323: _git: move "local" statement out of loop
Fixup for 99cf61fd4.
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r-- | Completion/Unix/Command/_git | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index 30ca80835..80504c003 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -7760,14 +7760,14 @@ _git() { declare -gUa _git_third_party_commands _git_third_party_commands=() -local file +local file input for file in ${^fpath}/_git-*~(*~|*.zwc)(-.N); do local name=${${file:t}#_git-} if (( $+_git_third_party_commands[$name] )); then continue fi - local desc= input + local desc= integer i=1 while read input; do if (( i == 2 )); then |