1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-23 16:40:24 +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

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