[Bash-completion-devel] Bug#613900: bash-completion: ls foo [TAB] shows foobar instead of foobar/ even if foobar is a directory

Luk Bettale luk.bettale at gmail.com
Wed Sep 28 17:09:27 UTC 2011


Hi,

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 !


-- 
Luk Bettale
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20110928/985b66ea/attachment.html>


More information about the Bash-completion-devel mailing list