bash tabcompletion broken in 4.2, I know this is an upstream
problem, but I think it deserves a higher importance as you can no
longer tab complete anything with an environment variable in it, if
you do that path is broken and requires manual editing to fix, and it
used to work.

ls $HOME/tm<tab>
4.1.5
gives
ls /home/david/tmp/
and the directory listing on enter,
4.2.20
gives
ls \$HOME/tmp 
ls: cannot access $HOME/tmp: No such file or directory

What I do more frequently is get the absolute path of a file in the
current directory to give to another program.

ls $PWD/.bashrc<tab>
was
ls /home/david/.bashrc
now
ls \$PWD/.bashrc

I'm confused on this post and proposed direxpand option fix.  The way
I'm reading this bash 4.2 will be broken by default hitting tab on a
valid path (if you press enter), $HOME/tmp/ will be replaced by an
invalid path \$HOME/tmp/ and that is a bug, adding an option to cover
that up doesn't change it.

http://lists.gnu.org/archive/html/bug-bash/2011-09/msg00007.html



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to