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

Ville Skyttä ville.skytta at iki.fi
Wed Sep 17 17:41:24 UTC 2014


FYI, the _quote_readline_by_ref changes should no longer be necessary
with bash 4.3 patchlevel 10 and above, that's why they're not applied in
upstream bash-completion. https://lists.gnu.org/archive/html/bug-
bash/2014-04/msg00035.html

-- 
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:
  Fix Released
Status in “bash-completion” package in Debian:
  Fix Released

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