Version: 4.2-4
Version: 4.2-5

Hi,

Moshe Yudkowsky wrote:
> The latest bash changes how autocomplete works. When I use TAB or
> double-ESC to expand a environment variable that resolves to a directory
> name, bash will show the contents of the directory, but then the command
> line is repeased with "\$" prepended to the environment variable. A
> second attempt to autocomplete then fails.

Interestingly I can reproduce this issue only on some machines, but
not on all of them despite they all have bash 4.2.

I could reproduce it on Ubuntu Natty and Ubuntu Precise, on Wheezy,
and on one, but not on all of my Sid boxes.

Disabling the sourcing of /etc/bash_completion (either manually
enabled in /etc/bash.bashrc or ~/.bashrc) made the problem vanish on
Debian and on Natty, but not on Precise. Even purging bash-completion
did not help on Precise.

And that's not all: While on precise using "bash --rcfile /dev/null"
still did not fix the issue, it brought the issue back on Natty. And
on Debian Sid it still worked as expected, i.e. did not add any
backslash.

The according bug report in Ubuntu is
https://bugs.launchpad.net/debian/+source/bash/+bug/778627

                Regards, Axel
-- 
 ,''`.  |  Axel Beckert <[email protected]>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to