diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-06-02 13:29:09 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-06-03 02:21:54 +0000 |
commit | 713eaa055d3914a06b71fe39581486c5b2bef60a (patch) | |
tree | 79aa87812ccf40007e78dd5f9fe24c83404bc26a /Completion/Unix | |
parent | c9825f6440602b7475283a5fd0bea50383aa912a (diff) | |
download | zsh-713eaa055d3914a06b71fe39581486c5b2bef60a.tar.gz zsh-713eaa055d3914a06b71fe39581486c5b2bef60a.tar.xz zsh-713eaa055d3914a06b71fe39581486c5b2bef60a.zip |
38576: _git: Also detect _git-${thirdparty} functions in $fpath that are symlinks.
Diffstat (limited to 'Completion/Unix')
-rw-r--r-- | Completion/Unix/Command/_git | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index 2fa004a5e..1dca28802 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -7022,7 +7022,7 @@ declare -gUa _git_third_party_commands _git_third_party_commands=() local file -for file in ${^fpath}/_git-*~(*~|*.zwc)(.N); do +for file in ${^fpath}/_git-*~(*~|*.zwc)(-.N); do local name=${${file:t}#_git-} if (( $+_git_third_party_commands[$name] )); then continue |