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

jimav 890913 at bugs.launchpad.net
Wed Dec 3 01:28:16 UTC 2014


This is a REGRESSION.   It used to expand $variable to its value rather than generating \$variable
So, for example, if file.txt exists in $HOME, typing

   ls $HOME/fil<tab>

used to generate

  ls /home/user/file.txt

but now gives you

  ls \$HOME/file.txt

which is useless.

Either it should be fixed to not generate the backslash, or else the
changes reverted so the old way works (i.e. replacing $variable with its
value)

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