[Bash-completion-devel] Bug#511151: Autocomplete of fileames with backquote expansion leaves garbage
James Westby
james.westby at canonical.com
Wed Jan 7 19:53:22 UTC 2009
Package: bash-completion
Version: 20080705
Severity: minor
Hi,
In https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/254426
"dermoth" reported the following.
"
With Bash programable autocomplete (/etc/bash_completion), commands
within backquotes containing a space doesn't get autocompleted properly:
$ touch ~/some_file_`date -I`.txt
$ ls ~/some_file_`date -I`.txt
/home/gaby/some_file_2008-08-03.txt
So far this works, but if I press the <TAB> key at the end of the
command:
$ ls ~/some_file`date /home/gaby/some_file_2008-08-03.txt
The autocompletion doesn't overwrite the whole argument and leaves
"~/some_file`date " in front of it.
"
Confirmed on sid.
Note that you have to have "~" or a directory portion, the bug
doesn't happen if you complete a filename in cwd.
Thanks,
James
More information about the Bash-completion-devel
mailing list