bash completion broken for 'ls' in Ubuntu 1104

Bug #778681 reported by Bruce Davis
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
bash (Ubuntu)
Confirmed
Undecided
Unassigned
bash-completion (Debian)
New
Unknown

Bug Description

Binary package hint: bash

Your current working directory contains a subdirectory: SubDir.

In Ubuntu 1010, if you type 'ls Su<tab>', bash_completion completes this to 'ls SubDir/', so you can now type the file or directory name you want.

In Ubuntu 1104, bash_completion completes this to 'ls SubDir ' (Note the trailing space). Effectively, the ending slash from Ubuntu 1010 has been replaced with a space. Thus, to type the file or directory, you must first delete the space, type the slash, and then can type the file or directory name.

Replacing the /etc/bash_completion file in Ubuntu 1104 with the /etc/bash_completion file from Ubuntu 1010 fixes this, so it seems that this change is related to some change in /etc/bash_completion.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: bash 4.2-0ubuntu3
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Fri May 6 13:34:07 2011
ExecutablePath: /bin/bash
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
ProcEnviron:
 LANG=en_US.UTF-8
 LANGUAGE=en_US:en
 SHELL=/bin/bash
SourcePackage: bash
UpgradeStatus: Upgraded to natty on 2011-05-02 (3 days ago)

Revision history for this message
Bruce Davis (brucedavis) wrote :
Revision history for this message
Robert Sajdok (ris) wrote :

I think this bug is not in the bash package. It should be in the bash-completion package.

Changed in bash-completion (Debian):
status: Unknown → New
Changed in bash (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.