92
47
I have followed http://blog.bitfluent.com/post/27983389/git-utilities-you-cant-live-without 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?
See also: https://trac.macports.org/wiki/howto/bash-completion
– Ioannis Filippidis – 2018-04-07T05:36:39.837