app-shells/bash-completion creates this file: /etc/profile.d/bash-completion (without .sh in the end), to configure bash completion. However, this file is never sourced, as in /etc/profile you have this code: for sh in /etc/profile.d/*.sh ; do if [ -r "$sh" ] ; then . "$sh" fi done (so only *.sh files are sourced) Two possibilities to fix this bug: - Either modify /etc/profile: -for sh in /etc/profile.d/*.sh ; do +for sh in /etc/profile.d/* ; do - Or, probably easier, rename /etc/profile.d/bash-completion to /etc/profile.d/bash-completion.sh .
Kindly read the postinstall info that's provided by bash-completion.
sorry...