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:
parent
c9825f6440
commit
713eaa055d
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue