bash adds incorrect backslash when completing
Bug #1055003 reported by
aeb
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The current version (Ubuntu 12.04.1 LTS, GNU bash, version 4.2.24(1)-release) of bash filename complation is seriously broken.
Have
shopt -u progcomp
in .profile
Type
% ls /long/directory
see that there is a unique file with a name starting with M. Then type
% cat $_/M<tab>
What happens: pressing <tab> produces
% cat \$_/Makefile
which of course fails since \$_ does not exist.
What I had hoped for (and happened before the upgrade to Precise): seeing either
% cat $_/Makefile
or
% cat /long/directory
(By the way, after shopt -s progcomp this is even more broken.)
To post a comment you must log in.