By default the current implementation loads user completion file twice: first by /usr/share/bash-completion/bash_completion in bash-completion package which is called by /etc/bash.bashrc via /etc/profile.d/bash_completion.sh and then directly by /etc/bash.bashrc itself.
I think /etc/bash.bashrc is not a right place to source user ~/.bash_completion at all. Especially when it gets sourced by bash-completion package already since 2001 but added to /etc/bash.bashrc in 2013.
I can see only one use case for that when user has its own completions created but doesn't install bash-completion package which probably happens quite unlikely. But even if such situation happens I'd rather let user itself source it using $HOME/.bash.expert that is made specially for cases when user is looking for a its own customization.
By default the current implementation loads user completion file twice: first by
/usr/share/bash-completion/bash_completioninbash-completionpackage which is called by/etc/bash.bashrcvia/etc/profile.d/bash_completion.shand then directly by/etc/bash.bashrcitself.I think
/etc/bash.bashrcis not a right place to source user~/.bash_completionat all. Especially when it gets sourced bybash-completionpackage already since 2001 but added to/etc/bash.bashrcin 2013.I can see only one use case for that when user has its own completions created but doesn't install
bash-completionpackage which probably happens quite unlikely. But even if such situation happens I'd rather let user itself source it using$HOME/.bash.expertthat is made specially for cases when user is looking for a its own customization.