[Bash-completion-devel] Bug#544024: Bug#544024: Completion with backslashes broken

Ville Skyttä ville.skytta at iki.fi
Fri Sep 4 20:06:06 UTC 2009


On Thursday 03 September 2009, Norbert Preining wrote:
> On Do, 03 Sep 2009, EspeonEefi wrote:
> > --- /etc/bash_completion.orig	2009-09-03 08:21:15.229720217 -0400
> > +++ /etc/bash_completion	2009-09-03 08:21:36.473719600 -0400
> > @@ -213,6 +213,10 @@
> >  # results in the original argument
> >  quote_readline()
> >  {
> > +	if [ ${BASH_VERSINFO[0]} -gt 3 ]; then
> > +		echo "$1"
> > +		return
> > +	fi
> >  	local t="${1//\\/\\\\}"
> >  	echo \'${t//\'/\'\\\'\'}\' #'# Help vim syntax highlighting
> >  }
>
> Thanks, that at least fixed the problem for me. I have added
> these 4 lines for now and hope for what upstream is doing.

Practically the same thing.  There's just no release with this fix out yet.

http://git.debian.org/?p=bash-completion/bash-
completion.git;a=commitdiff;h=1421e55aac075e13491cd212b796bdd453214a2c

http://git.debian.org/?p=bash-completion/bash-
completion.git;a=commitdiff;h=4475d3634923de7a169c67aaa197f388bb418de8






More information about the Bash-completion-devel mailing list