[Bug 1087996] Re: Completion of cp command adds space instead of slash to directories

Peter Cordes peter at cordes.ca
Sun Nov 30 04:15:04 UTC 2014


If this wasn't /etc/bash_completion.d/acroread.sh (which is now
blacklisted), then add info to bug 1372286.  If we can file more
problematic files to blacklist, we can prevent this problem for other
people.

 Closing this because it was reported against a version before the
acroread blacklist was added.


** Changed in: bash-completion (Ubuntu)
       Status: Incomplete => Fix Released

-- 
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:
  Fix Released

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