Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
completion: zsh: don't override suffix on _detault
author
Felipe Contreras
<felipe.contreras@gmail.com>
Fri, 3 May 2013 21:35:50 +0000
(16:35 -0500)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 3 May 2013 22:10:05 +0000
(15:10 -0700)
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 <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.zsh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
9a3e36c
)
diff --git
a/contrib/completion/git-completion.zsh
b/contrib/completion/git-completion.zsh
index 49f0cb8f69d747ddd5bad353277ae741855eff5d..2565d2eef4cd23ac2137d4b047300ebc4078fcdb 100644
(file)
--- 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
}