[Bug 1288031] [NEW] Tab expansion only auto-completes directory names

Simon Déziel 1288031 at bugs.launchpad.net
Wed Mar 5 03:12:21 UTC 2014


Public bug reported:

Under bash 4.3, tab expansion only auto-completes directory names. Steps
to reproduce:

 # Preparation
 D=$(mktemp -d)
 cd $D
 touch a
 mkdir b c

 # test
 vi # (press tab tab)
b/ c/ 

Notice the file "a" isn't proposed in the listing, only the 2
directories ("b" and "c").


$ lsb_release -rd
Description:	Ubuntu Trusty Tahr (development branch)
Release:	14.04

$ apt-cache policy bash-completion bash
bash-completion:
  Installed: 1:2.1-2ubuntu2
  Candidate: 1:2.1-2ubuntu2
  Version table:
 *** 1:2.1-2ubuntu2 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status
bash:
  Installed: 4.3-1ubuntu2
  Candidate: 4.3-1ubuntu2
  Version table:
 *** 4.3-1ubuntu2 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: bash-completion 1:2.1-2ubuntu2
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: Tue Mar  4 21:39:35 2014
InstallationDate: Installed on 2014-01-26 (37 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140124)
PackageArchitecture: all
SourcePackage: bash-completion
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: bash-completion (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

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

Title:
  Tab expansion only auto-completes directory names

Status in “bash-completion” package in Ubuntu:
  New

Bug description:
  Under bash 4.3, tab expansion only auto-completes directory names.
  Steps to reproduce:

   # Preparation
   D=$(mktemp -d)
   cd $D
   touch a
   mkdir b c

   # test
   vi # (press tab tab)
  b/ c/ 

  Notice the file "a" isn't proposed in the listing, only the 2
  directories ("b" and "c").

  
  $ lsb_release -rd
  Description:	Ubuntu Trusty Tahr (development branch)
  Release:	14.04

  $ apt-cache policy bash-completion bash
  bash-completion:
    Installed: 1:2.1-2ubuntu2
    Candidate: 1:2.1-2ubuntu2
    Version table:
   *** 1:2.1-2ubuntu2 0
          500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
          100 /var/lib/dpkg/status
  bash:
    Installed: 4.3-1ubuntu2
    Candidate: 4.3-1ubuntu2
    Version table:
   *** 4.3-1ubuntu2 0
          500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
          100 /var/lib/dpkg/status

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: bash-completion 1:2.1-2ubuntu2
  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: Tue Mar  4 21:39:35 2014
  InstallationDate: Installed on 2014-01-26 (37 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140124)
  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/1288031/+subscriptions



More information about the foundations-bugs mailing list