Bash programmable completion of variable names

Hal Burgiss hal at burgiss.net
Tue Jun 23 10:35:53 UTC 2009


On Mon, Jun 22, 2009 at 05:42:54PM -0400, Hal Burgiss wrote:
> https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/177243
> 
> In my case, there is something in /etc/bash_completion.d/ that is causing it, it
> seems.

Nope, wrong again. 

But about line 3168 in /etc/bash_completion, comment out this stuff ...

#if shopt -q cdable_vars; then
#    complete -v -F _cd $nospace $filenames cd
#else
#    complete -F _cd $nospace $filenames cd
#fi

That works around the problem that apparently has been around since at least
7.10.

-- 
Hal




More information about the ubuntu-users mailing list