1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-24 17:00:32 +02:00

38576: _git: Also detect _git-${thirdparty} functions in $fpath that are symlinks.

This commit is contained in:
Daniel Shahaf 2016-06-02 13:29:09 +00:00
parent c9825f6440
commit 713eaa055d
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2016-06-03 Daniel Shahaf <d.s@daniel.shahaf.name>
* 38576: Completion/Unix/Command/_git: Also detect
_git-${thirdparty} functions in $fpath that are symlinks.
2016-06-02 Eric Cook <llua@gmx.com>
* 38567: Marko Myllynen: Completion/Unix/Command/_locale:

View file

@ -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