[Bug 890913] Re: Typing "prg $HOME/<tab>" expands to "prg \$HOME/"

Peter Cordes peter at cordes.ca
Wed Dec 3 19:30:34 UTC 2014


$HOME is a good example as a testcase, but a terrible example of it
actually being a problem, because ~/file.txt is easier to type anyway.

$OLDPWD is more annoying.  I think progcomp used to expand the variable
on your cmdline, and then of course completion just worked normally.  I
think that expansion was a bug, and now we're exposed to this bug.

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

Title:
  Typing "prg $HOME/<tab>" expands to "prg \$HOME/"

Status in bash-completion package in Ubuntu:
  Confirmed
Status in bash-completion package in Fedora:
  Unknown

Bug description:
  Typing "prg $HOME/<tab>" expands to "prg \$HOME/" quite annoying,
  shall expand to "prg $HOME/" listing all directories and files
  available for expansion, not creating an escaped string from $HOME. It
  should KEEP $HOME, not expanding it to your home directory as with
  some program named done!

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: bash-completion 1:1.3-1ubuntu6
  Uname: Linux 3.0.9 x86_64
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  Date: Wed Nov 16 00:31:37 2011
  InstallationMedia: Xubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  PackageArchitecture: all
  ProcEnviron:
   PATH=(custom, user)
   LANG=de_DE.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/890913/+subscriptions



More information about the foundations-bugs mailing list