[Bug 1288314] [NEW] bash completion broken with '~' expansion

Scott Moser smoser at ubuntu.com
Wed Mar 5 16:08:25 UTC 2014


Public bug reported:

After bash upgrade, I'm now not able to tab complete things like this:

$ whoami
smoser
$ echo ~/
/home/smoser/
$ mkdir ~/x
$ echo "hi mom" > ~/x/greeting.txt
$ echo "by mom" > ~/x/salutation.txt
$ echo "filed bug" > ~/x/work.log
$ ls ~/x/<tab><tab>
  # shows nothing


$ ls /home/smoser/x/<tab><tab>
greeting.txt    salutation.txt  work.log

$ cd
$ ls ./x/<tab><tab>
greeting.txt    salutation.txt  work.log        


So it seems that the ~/ is not getting resolved by the tab completion.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: bash 4.3-2ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-15.35-generic 3.13.5
Uname: Linux 3.13.0-15-generic x86_64
ApportVersion: 2.13.2-0ubuntu5
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Mar  5 11:02:52 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2011-10-19 (868 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
SourcePackage: bash
UpgradeStatus: Upgraded to trusty on 2013-05-20 (289 days ago)

** Affects: bash (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: amd64 apport-bug trusty

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/1288314

Title:
  bash completion broken with '~' expansion

Status in “bash” package in Ubuntu:
  Confirmed

Bug description:
  After bash upgrade, I'm now not able to tab complete things like this:

  $ whoami
  smoser
  $ echo ~/
  /home/smoser/
  $ mkdir ~/x
  $ echo "hi mom" > ~/x/greeting.txt
  $ echo "by mom" > ~/x/salutation.txt
  $ echo "filed bug" > ~/x/work.log
  $ ls ~/x/<tab><tab>
    # shows nothing

  
  $ ls /home/smoser/x/<tab><tab>
  greeting.txt    salutation.txt  work.log

  $ cd
  $ ls ./x/<tab><tab>
  greeting.txt    salutation.txt  work.log        

  
  So it seems that the ~/ is not getting resolved by the tab completion.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: bash 4.3-2ubuntu1
  ProcVersionSignature: Ubuntu 3.13.0-15.35-generic 3.13.5
  Uname: Linux 3.13.0-15-generic x86_64
  ApportVersion: 2.13.2-0ubuntu5
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Wed Mar  5 11:02:52 2014
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2011-10-19 (868 days ago)
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  SourcePackage: bash
  UpgradeStatus: Upgraded to trusty on 2013-05-20 (289 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1288314/+subscriptions



More information about the foundations-bugs mailing list