bash filename completion buggy in F16?

Eric Blake eblake at redhat.com
Thu Oct 20 20:52:06 UTC 2011


On 10/20/2011 02:35 PM, Tom Horsley wrote:
> OK, found it: On fedora16, the "smart" bash completion crap
> is apparently enabled by default. You could try editing
> /etc/profile.d/bash_completion.sh and comment out the
> line that does ". /etc/bash_completion" then log out
> and back in again and see if completion is back to being
> dumb and useful instead of "helpful" and useless.

That affects _all_ users.  Or you could disable it for just you, by 
realizing that bash-completion-1.3-6 added a patch to make it easier to 
disable completion on a per-user basis (stick "shopt -u progcomp" in 
~/.config/bash_completion).  Or you could leave it enabled, but use 
~/.bash_completion to override the _firefox() function to get the 
completion that you want for firefox.

Meanwhile, feel free to file a bug report against bash-completion that 
it is not doing the right smart completions on firefox.  After all, 
bash-completion is an active project that is improving smart completions 
according to the bug reports it gets.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


More information about the test mailing list