A solução é que eu deveria chamar a conclusão do bash de 1.3.2 antes de bash-completion@2
. A seguir está como meu .bashrc
parece, e isso resolve o problema:
if [ -f /usr/local/Cellar/bash-completion/1.3_2/etc/bash_completion ]; then
BASH_COMPLETION=/usr/local/Cellar/bash-completion/1.3_2/etc/bash_completion
. /usr/local/Cellar/bash-completion/1.3_2/etc/bash_completion
fi
if [ -f /usr/local/share/bash-completion/bash_completion ]; then
. /usr/local/share/bash-completion/bash_completion
fi