Thread (6 messages) flat view 6 messages, 5 authors, 2016-06-15

Re: [PATCH] bash-completion: don't add quoted space for ZSH (fix regression)

From: Felipe Contreras <hidden>
Date: 2016-06-15 22:52:49

Possibly related (same subject, not in this thread)

On Sat, Jan 14, 2012 at 8:55 PM, Matthieu Moy [off-list ref] wrote:
Commit a31e626 (completion: optimize refs completion) introduced a
regression for ZSH users: ref names were completed with a quoted trailing
space (i.e. "git checkout ma" completes to "git checkout master\ "). The
space is convenient for bash users since we use "-o nospace", but a
quoted space is worse than nothing. The absence of trailing space for ZSH
is a long-standing issue, that this patch is not fixing. We just fix the
regression by not appending a space when the shell is ZSH.
I have this issue with the script from v1.7.8.3, and I think it
started with a zsh update.

-- 
Felipe Contreras
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help