about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2016-06-02 13:29:09 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2016-06-03 02:21:54 +0000
commit713eaa055d3914a06b71fe39581486c5b2bef60a (patch)
tree79aa87812ccf40007e78dd5f9fe24c83404bc26a /Completion
parentc9825f6440602b7475283a5fd0bea50383aa912a (diff)
downloadzsh-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')
-rw-r--r--Completion/Unix/Command/_git2
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