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>
This commit is contained in:
Felipe Contreras 2013-05-03 16:35:50 -05:00 committed by Junio C Hamano
parent 9a3e36cd67
commit 6606a69f45

View File

@ -198,7 +198,7 @@ _git ()
emulate ksh -c __${service}_main
fi
let _ret && _default -S '' && _ret=0
let _ret && _default && _ret=0
return _ret
}