Bash programmable completion of variable names

Brian McKee brian.mckee at gmail.com
Tue Jun 23 13:14:30 UTC 2009


On Tue, Jun 23, 2009 at 6:35 AM, Hal Burgiss<hal at burgiss.net> wrote:
> 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.

Fixed my OSX box too - but IIRC I installed bash_completion from
upstream on this box.
thanks!

Brian




More information about the ubuntu-users mailing list