bash completion doesn't work if multiple files with space in name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash-completion (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
To reproduce :
cd /tmp
touch "foo bar"
touch "foo boo"
ls foo (then press Tab key several times)
=> The two names should appear, but it doesn't work.
Doing the same thing with simple filename (without spaces in them) seems to work fine.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: bash-completion 1:2.1-2ubuntu3
ProcVersionSign
Uname: Linux 3.8.0-34-generic x86_64
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Mar 13 23:21:57 2014
InstallationDate: Installed on 2013-12-26 (77 days ago)
InstallationMedia: Ubuntu 12.04.3 LTS "Precise Pangolin" - Release amd64 (20130820.1)
PackageArchitec
SourcePackage: bash-completion
UpgradeStatus: Upgraded to trusty on 2014-01-03 (69 days ago)
another symptom of missing quotes on $quoted, see my fix for bug 1387057. Works for me on trusty with that fix applied.