Comment 2 for bug 742041

Revision history for this message
Tim Frost (timfrost) wrote : Re: bash doesn't provide auto-completion more

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
GNU bash, version 4.2.8(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
tim@zaphod:~$ lsb_release -a
LSB Version: core-2.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
Distributor ID: Ubuntu
Description: Ubuntu Natty (development branch)
Release: 11.04
Codename: natty
tim@zaphod:~$