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

David Paleino dapal at debian.org
Sat Apr 10 10:12:51 UTC 2010


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

?

-- 
 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|----
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20100410/184bf70d/attachment.pgp>


More information about the Bash-completion-devel mailing list