How to get git-completion.bash to work on Mac OS X?
- by n179911
Hi,
I have followed http://blog.bitfluent.com/page/3 to
add git-completion.bash to my /opt/local/etc/bash_completion.d/git-completion
and I put PS1='\h:\W$(__git_ps1 "(%s)") \u\$ ' in my .bashrc_profile
But now I am getting this -bash: __git_ps1: command not found everything I do a cd.
Can you please tell me what am I missing?