autocompletion fails to work entirely for some commands (e.g. mount)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: bash
not tab completion when providing a file we want to work with.
here is what I mean :
natty@natty-
I had to manually add "natty-
This is regression for the bash's behavior
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: bash 4.2-0ubuntu2
ProcVersionSign
Uname: Linux 2.6.38-7-generic i686
Architecture: i386
Date: Thu Mar 24 21:25:46 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110318)
LiveMediaBuild: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110323)
ProcEnviron:
LANGUAGE=en_US:en
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: bash
UpgradeStatus: Upgraded to natty on 2011-03-24 (0 days ago)
In natty, if the type characters match a singe directory entry, pressing the TAB key results in the matching entry, with:
1: A space following
2: No escaping of embedded spaces or special characters
This is NOT related to unity - it appears for the classic desktop as well
In previous releases, bash would do the following:
1: For embedded spaces, they would be escaped with a single backslash ("\")
2: If the match was a directory, the displayed match would terminate with "/' (eg "Desktop/") and NO trailing space
3: A trailing space would be appended ONLY in the case where there was a single file name that matched when the TAB was pressed
bash version:
tim@zaphod:~$ bash --version pc-linux- gnu) gnu.org/ licenses/ gpl.html>
GNU bash, version 4.2.8(1)-release (x86_64-
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software; you are free to change and redistribute it. 0-amd64: core-2. 0-noarch: core-3. 0-amd64: core-3. 0-noarch: core-3. 1-amd64: core-3. 1-noarch: core-3. 2-amd64: core-3. 2-noarch: core-4. 0-amd64: core-4. 0-noarch
There is NO WARRANTY, to the extent permitted by law.
tim@zaphod:~$ lsb_release -a
LSB Version: core-2.
Distributor ID: Ubuntu
Description: Ubuntu Natty (development branch)
Release: 11.04
Codename: natty
tim@zaphod:~$