Skip to content

Instantly share code, notes, and snippets.

@catskull
Last active March 25, 2017 21:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save catskull/36d490b41c3ec2813f701f34f3d21457 to your computer and use it in GitHub Desktop.
Save catskull/36d490b41c3ec2813f701f34f3d21457 to your computer and use it in GitHub Desktop.
# brew install bash-completion
if [ -f /usr/local/etc/bash_completion ]; then
. /usr/local/etc/bash_completion
fi
# DL git prompt here: https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh
source ~/.git-prompt.sh
export PS1='\w\[\e[0;33m\]$(__git_ps1 " (%s)")\[\e[m\]\$ '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment