[Bug 1087996] [NEW] Completion of cp command adds space instead of slash to directories
Hegh
celloman at gmail.com
Sat Dec 8 15:17:24 UTC 2012
Public bug reported:
When using tab-completion for the cp command, when completing
directories, the completion inserts a space instead of a slash after the
name. This causes much backspacing and retyping.
Expected behavior:
cp ~/src/pr<TAB>
cp ~/src/projects/j<TAB> ==> ~/src/projects/java/
cp ~/src/projects/java/pom<TAB> ==>~/src/projects/java/pom.xml<SPACE>
cp ~/src/projects/java/pom.xml ~/tmp/
Actual behavior:
cp ~/src/pr<TAB> ==> ~/src/projects<SPACE>
cp ~/src/projects <BACKSPACE>
cp ~/src/projects/j<TAB> ==> ~/src/projects/java<SPACE>
cp ~/src/projects/java <BACKSPACE>
cp ~/src/projects/java/pom<TAB> ==> ~/src/projects/java/pom.xml<SPACE>
cp ~/src/projects/java/pom.xml ~/tmp/
This works as expected on Ubuntu 12.04 Server, and I'm pretty sure it
used to work on Kubuntu 12.04 (what I am running) until relatively
recently, maybe just a couple of weeks ago.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: bash-completion 1:1.3-1ubuntu8
ProcVersionSignature: Ubuntu 3.2.0-34.53-generic 3.2.33
Uname: Linux 3.2.0-34-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu15
Architecture: amd64
Date: Sat Dec 8 10:05:28 2012
InstallationMedia: Kubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120424)
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
LANGUAGE=
TERM=xterm
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: bash-completion
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: bash-completion (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug precise
--
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/1087996
Title:
Completion of cp command adds space instead of slash to directories
Status in “bash-completion” package in Ubuntu:
New
Bug description:
When using tab-completion for the cp command, when completing
directories, the completion inserts a space instead of a slash after
the name. This causes much backspacing and retyping.
Expected behavior:
cp ~/src/pr<TAB>
cp ~/src/projects/j<TAB> ==> ~/src/projects/java/
cp ~/src/projects/java/pom<TAB> ==>~/src/projects/java/pom.xml<SPACE>
cp ~/src/projects/java/pom.xml ~/tmp/
Actual behavior:
cp ~/src/pr<TAB> ==> ~/src/projects<SPACE>
cp ~/src/projects <BACKSPACE>
cp ~/src/projects/j<TAB> ==> ~/src/projects/java<SPACE>
cp ~/src/projects/java <BACKSPACE>
cp ~/src/projects/java/pom<TAB> ==> ~/src/projects/java/pom.xml<SPACE>
cp ~/src/projects/java/pom.xml ~/tmp/
This works as expected on Ubuntu 12.04 Server, and I'm pretty sure it
used to work on Kubuntu 12.04 (what I am running) until relatively
recently, maybe just a couple of weeks ago.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: bash-completion 1:1.3-1ubuntu8
ProcVersionSignature: Ubuntu 3.2.0-34.53-generic 3.2.33
Uname: Linux 3.2.0-34-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu15
Architecture: amd64
Date: Sat Dec 8 10:05:28 2012
InstallationMedia: Kubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120424)
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
LANGUAGE=
TERM=xterm
PATH=(custom, user)
LANG=en_US.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/1087996/+subscriptions
More information about the foundations-bugs
mailing list