[Bug 1221502] Re: bash completion escapes the dollar sign preceding a variable when it shouldn't

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


*** This bug is a duplicate of bug 890913 ***
    https://bugs.launchpad.net/bugs/890913

** This bug has been marked a duplicate of bug 890913
   Typing "prg $HOME/<tab>" expands to "prg \$HOME/"

-- 
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/1221502

Title:
  bash completion escapes the dollar sign preceding a variable when it
  shouldn't

Status in bash-completion package in Ubuntu:
  Confirmed

Bug description:
  Run these commands to reproduce the problem:

  $ touch xxx
  $ ls $PWD/x            (now press TAB)

  The line completes like this:

    ls \$PWD/xxx

  with a slash in front of the dollar sign.

  If  you run "complete -r", the problem goes away, and the line
  completes as:

    ls $PWD/xxx

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: bash-completion 1:2.0-1ubuntu3
  ProcVersionSignature: Ubuntu 3.8.0-29.42-generic 3.8.13.5
  Uname: Linux 3.8.0-29-generic x86_64
  ApportVersion: 2.9.2-0ubuntu8.3
  Architecture: amd64
  Date: Thu Sep  5 22:00:18 2013
  InstallationDate: Installed on 2013-08-31 (5 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  MarkForUpload: True
  PackageArchitecture: all
  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/1221502/+subscriptions



More information about the foundations-bugs mailing list