bash-completion has a guard condition so it won't be sourced without PS1 being set https://github.com/scop/bash-completion/blob/6009de8534cd24b71d0bfda479823abcc640e4b1/bash_completion.sh.in#L2 Indeed, on my system it doesn't get sourced, while adding `PS1=something` before `{source}` fixes that.
bash-completion has a guard condition so it won't be sourced without PS1 being set
https://github.com/scop/bash-completion/blob/6009de8534cd24b71d0bfda479823abcc640e4b1/bash_completion.sh.in#L2
Indeed, on my system it doesn't get sourced, while adding
PS1=somethingbefore{source}fixes that.