In the file /etc/profile there is this piece of code: for sh in /etc/profile.d/*.sh ; do if [ -r "$sh" ] ; then . "$sh" fi done The script for bash-completion is named "/etc/profile.d/bash-completion". It does not have ".sh" extension, thus it is not included. Reproducible: Always
That's by design. *** This bug has been marked as a duplicate of bug 124741 ***