[Bash-completion-devel] Bug#430501: /etc/skel/.bashrc: bash_completion example in default .bashrc should check for previous inclusion via $BASH_COMPLETION

Matthias Klose doko at debian.org
Sat Apr 10 11:16:29 UTC 2010


On 10.04.2010 12:12, David Paleino wrote:
> On Saturday 10 April 2010 12:00:17, Matthias Klose wrote:
>> reassign 430501 bash-completion
>> thanks
>>
>> I think that's the wrong thing to do. Resourcing the .bashrc should include
>>   all parts. if bash-completion is not safe to resource, please have a guard
>>   in bash-completion instead.
>
> What's wrong with:
>
> [ -f /etc/bash_completion ]&&  . /etc/bash_completion
>
> ?

if that does work, then nothing is wrong. what do you think is wrong?






More information about the Bash-completion-devel mailing list