'cd' and 'rmdir' and others fail to complete directory paths past the first level if the first directory contains single quotes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash-completion (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Tab completion of directory paths containing single quotes is broken like so:
$ mkdir -p "a'b/c"
$ cd a\'b/ # pressing tab won't complete the 'c' dir
as opposed to:
$ mkdir -p "de/f"
$ cd de/ # pressing tab here completes the 'f' dir just fine, to 'de/f/'
I initially thought this was Bug #1485777, but the reason I'm not so sure anymore is that for me, a manually appended \' does not disappear (unlike for the reporter of #1485777). This does however also seem like a regression back to the issue of Bug #590829.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: bash-completion 1:2.1-4ubuntu0.1
ProcVersionSign
Uname: Linux 3.13.0-63-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.13
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Sep 7 09:12:04 2015
InstallationDate: Installed on 2010-01-15 (2060 days ago)
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
PackageArchitec
SourcePackage: bash-completion
UpgradeStatus: Upgraded to trusty on 2015-08-31 (6 days ago)
Changed in bash-completion (Ubuntu): | |
importance: | Undecided → Medium |
summary: |
- Fails to complete directory paths containing single quotes + 'cd' and 'rmdir' and others fail to complete directory paths past the + first level if the first directory contains single quotes |
It's not the same as #590829 after all: despite the similarities, the recipe given at #590829 does not reproduce the issue for me.