summaryrefslogtreecommitdiff
path: root/contrib/completion
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2013-05-03 21:35:50 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-05-03 22:10:05 (GMT)
commit6606a69f451ebbed5692185938be55aea6e8f49f (patch)
tree75f616edb9770095d08017645913962291eea93b /contrib/completion
parent9a3e36cd67fce2bfcc0726193feee493ccdbf0f6 (diff)
downloadgit-6606a69f451ebbed5692185938be55aea6e8f49f.zip
git-6606a69f451ebbed5692185938be55aea6e8f49f.tar.gz
git-6606a69f451ebbed5692185938be55aea6e8f49f.tar.bz2
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 <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/completion')
-rw-r--r--contrib/completion/git-completion.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/completion/git-completion.zsh b/contrib/completion/git-completion.zsh
index 49f0cb8..2565d2e 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
}