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<tab>

RESULTS: 
  echo \$HOME/DIR\ WITH\ SPACES 

EXPECTED RESULTS:
  echo $HOME/DIR\ WITH\ SPACES


$ apt-cache policy bash bash-completion
bash:
  Installed: 4.3-14ubuntu1
  Candidate: 4.3-14ubuntu1
  Version table:
 *** 4.3-14ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ wily/main amd64 Packages
        100 /var/lib/dpkg/status
bash-completion:
  Installed: 1:2.1-4.1ubuntu2
  Candidate: 1:2.1-4.1ubuntu2
  Version table:
 *** 1:2.1-4.1ubuntu2 0
        500 http://us.archive.ubuntu.com/ubuntu/ wily/main amd64 Packages
        100 /var/lib/dpkg/status

-- 
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 $HOME/<tab>" expands to "prg \$HOME/"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to