Git environment tweaks for OS X
-
Copy git-completion.bash into a folder of your preference
-
Copy git-prompt.sh into a folder of your preference
-
Update your .bash_profile with the following:
source <path>/git-completion.bash source <path>/git-prompt.sh export PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ 's
-
Re-run your .bash_profile