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

Mathew Hodson mathew.hodson at gmail.com
Sat Nov 21 06:34:49 UTC 2015


I still can't reproduce with Trusty even with a directory with spaces.

$ mkdir $HOME/'DIR WITH SPACES'
$ echo $HOME/DIR<Tab>

produces

$ echo /home/mathew/DIR\ WITH\ SPACES/

$ apt list bash bash-completion
Listing... Done
bash/trusty-security,trusty-updates,now 4.3-7ubuntu1.5 amd64 [installed]
bash-completion/trusty-updates,now 1:2.1-4ubuntu0.1 all [installed]

** Tags added: precise

** Changed in: bash-completion (Ubuntu)
   Importance: Undecided => Low

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

** Tags added: regression-release

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

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