From: Felipe Contreras Date: Fri, 3 May 2013 21:35:50 +0000 (-0500) Subject: completion: zsh: don't override suffix on _detault X-Git-Tag: v1.8.3-rc1~2^2~2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=6606a69f451ebbed5692185938be55aea6e8f49f;p=git-core%2Fgit.git completion: zsh: don't override suffix on _detault zsh is smart enough to add the right suffix while completing, there's no point in trying to do the same as bash. Signed-off-by: Felipe Contreras Signed-off-by: Junio C Hamano --- diff --git a/contrib/completion/git-completion.zsh b/contrib/completion/git-completion.zsh index 49f0cb8f6..2565d2eef 100644 --- a/contrib/completion/git-completion.zsh +++ b/contrib/completion/git-completion.zsh @@ -198,7 +198,7 @@ _git () emulate ksh -c __${service}_main fi - let _ret && _default -S '' && _ret=0 + let _ret && _default && _ret=0 return _ret }