From 713eaa055d3914a06b71fe39581486c5b2bef60a Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Thu, 2 Jun 2016 13:29:09 +0000 Subject: 38576: _git: Also detect _git-${thirdparty} functions in $fpath that are symlinks. --- Completion/Unix/Command/_git | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/Unix/Command/_git') 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 -- cgit 1.4.1