Note: in contrast, on Ubuntu 10.04 with
GNU bash, version 4.1.5(1)-release (i486-pc-linux-gnu)

I do not get the backslash:

repro:
sudo mv /etc/bash_completion /etc/bash_completion.backup
sudo mv /etc/bash_completion.d /etc/bash_completion.d.backup
env -i HOME=$HOME DISPLAY="$DISPLAY" xterm -e bash --login --noprofile --norc

in new xterm:

bash-4.2$ cd $HOME<tab>
bash-4.2$ cd $HOME <cursor> <--- just adds a space (same as Ubuntu 12.04)

bash-4.2$ cd $HOME/<tab>
bash-4.2$ cd /home/acorn/              <--- no bug! expands as expected!

bash-4.2$ xyz $HOME/<tab>
bash-4.2$ xyz /home/acorn            <--- no bug! expands as expected!

So maybe this is a regression in bash itself?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/177243

Title:
  Bash command completion puts backslash in front of beginning dollar
  sign

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/177243/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to