completion: add new zsh completion
authorFelipe Contreras <felipe.contreras@gmail.com>
Sun, 18 Nov 2012 11:08:08 +0000 (12:08 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 19 Nov 2012 18:56:47 +0000 (10:56 -0800)
commitc9407860f47ec4cf1c64a2c2ca4ae0b451469658
tree788ab8a81d6f9e6062a5441fcc4c64a0a730e48d
parentf3828dc0669826660f5034a468913115675ff501
completion: add new zsh completion

It seems there's always issues with zsh's bash completion emulation.
I've tried to fix as many as I could[1], and most of the fixes are already
in the latest version of zsh, but still, there are issues.

There is no point going through all that pain; the emulation is easy to
achieve, and this patch works better than zsh's bash completion
emulation.

[1] http://zsh.git.sourceforge.net/git/gitweb.cgi?p=zsh/zsh;a=commitdiff;h=23907bb840c80eef99eabba17e086e44c9b2d3fc

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.zsh [new file with mode: 0644]