[Bug 890913] Re: Typing "prg $HOME/<tab>" expands to "prg \$HOME/"
jimav
890913 at bugs.launchpad.net
Wed Oct 21 19:38:45 UTC 2015
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
Foundations Bugs, which is subscribed to bash-completion in Ubuntu.
https://bugs.launchpad.net/bugs/890913
Title:
Typing "prg $HOME/<tab>" expands to "prg \$HOME/"
Status in bash-completion package in Ubuntu:
Incomplete
Bug description:
Typing "prg $HOME/<tab>" expands to "prg \$HOME/" quite annoying,
shall expand to "prg $HOME/" listing all directories and files
available for expansion, not creating an escaped string from $HOME. It
should KEEP $HOME, not expanding it to your home directory as with
some program named done!
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: bash-completion 1:1.3-1ubuntu6
Uname: Linux 3.0.9 x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Wed Nov 16 00:31:37 2011
InstallationMedia: Xubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
PackageArchitecture: all
ProcEnviron:
PATH=(custom, user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: bash-completion
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/890913/+subscriptions
More information about the foundations-bugs
mailing list