[Bash-completion-devel] Bug#544024: Completion with backslashes broken
Norbert Preining
preining at logic.at
Thu Sep 3 13:13:40 UTC 2009
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.
Best wishes
Norbert
-------------------------------------------------------------------------------
Dr. Norbert Preining <preining at logic.at> Vienna University of Technology
Debian Developer <preining at debian.org> Debian TeX Group
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
QUABBS (pl.n.)
The substances which emerge when you squeeze a blackhead.
--- Douglas Adams, The Meaning of Liff
More information about the Bash-completion-devel
mailing list