[Bash-completion-devel] Bug#613900: bash-completion: ls foo [TAB] shows foobar instead of foobar/ even if foobar is a directory
luk.bettale at gmail.com
Wed Sep 28 17:09:27 UTC 2011
I had the same problem too.
It appears that it is not a bug from the bash-completion package. If you
have installed acroread, adobe provides the file
/etc/bash_completion.d/acroread.sh where they define a function called
_filedir to perform their completion. This name collides with the _filedir
function from the /etc/bash_completion file.
As a solution, I renamed the function in /etc/bash_completion.d/acroread.sh
to, say, "adobe_filedir" everywhere in the file, and then, the directory
completion for ls worked again !
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Bash-completion-devel