I wanted to have bash autocompletion for git commands, so I dropped a bash script file into /opt/local/etc/bash_completion.d/
.
When I open a new Terminal, the script file in /opt/local/etc/bash_completion.d/
does not get executed. I have verified that the script file is working by running:
source /opt/local/etc/bash_completion.d/git-completion.bash
Are there any steps missing here to ask OS X to automatically execute scripts in /opt/local/etc/bash_completion.d/
?