Re: [PATCH] git-completion: workaround zsh COMPREPLY bug
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 26, 2012, 22:00 UTC
- Message-ID
- <7v4nvi2kgq.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1327455422-22340-1-git-send-email-felipe.contreras@gmail.com>
Felipe Contreras <felipe.contreras@gmail.com> writes:
Show 9 quoted lines
> zsh adds a backslash (foo\ ) for each item in the COMPREPLY array if IFS > doesn't contain spaces. This issue has been reported[1], but there is no > solution yet. > ... > Once zsh is fixed, we should conditionally disable this workaround to > have the same benefits as bash users. > > [1] http://www.zsh.org/mla/workers/2012/msg00053.html > [2] http://zsh.git.sourceforge.net/git/gitweb.cgi?p=zsh/zsh;a=commitdiff;h=2e25dfb8fd38dbef0a306282ffab1d343ce3ad8d
That 2e25dfb8 only says:
Rocky Bernstein: 29135 (plus tweaks): compgen -W in bash completion
without any explanation, which is not very useful.
Do you have a bug tracker ID or something for [1] above, with which I can amend the patch as Matthieu suggests?