This bug used to affect me in 14.04 LTS. Since upgrading to 15.10, the
bug no longer occurs for me.
Just another data point.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/890913
Title:
Typing "prg
Maybe it has something to do with option settiings. Mathew, can you try
with the following bash variables set to see if the problem appears for
you? Also, BASH_VERSION='4.3.42(1)-release' pm wily, if that matters
BASH=/bin/bash
SHELL=/bin/bash
I still can't reproduce with Trusty even with a directory with spaces.
$ mkdir $HOME/'DIR WITH SPACES'
$ echo $HOME/DIR
produces
$ echo /home/mathew/DIR\ WITH\ SPACES/
$ apt list bash bash-completion
Listing... Done
bash/trusty-security,trusty-updates,now 4.3-7ubuntu1.5 amd64 [installed]
Not fixed in Ubuntu 15.10.
The problem occurs if completion expands to a name containing spaces. For
example "Virtual Box VMs" in $HOME
STEPS TO REPRODUCE:
1. mkdir $HOME/'DIR WITH SPACES'
2. echo $HOME/DIR
RESULTS:
echo \$HOME/DIR\ WITH\ SPACES
EXPECTED RESULTS:
echo $HOME/DIR\
On Trusty,
$ prg $HOME/fil
produces
$ prg /home/mathew/file.txt
Is this still an issue? Does it affect Precise?
** Package changed: bash-completion (Fedora) => ubuntu
** Changed in: ubuntu
Importance: Unknown => Undecided
** Changed in: ubuntu
Status: Unknown => New
** Changed
This affects Precise:
ls $HOME/.bas
turns into:
ls \$HOME/.bash
# apt-cache policy bash bash-completion
bash:
Installed: 4.2-2ubuntu2.6
Candidate: 4.2-2ubuntu2.6
Version table:
*** 4.2-2ubuntu2.6 0
500 http://ca.archive.ubuntu.com/ubuntu/ precise-updates/main amd64