Skip to content

Instantly share code, notes, and snippets.

@dreamr
Created March 23, 2013 17:41
Show Gist options
  • Save dreamr/5228649 to your computer and use it in GitHub Desktop.
Save dreamr/5228649 to your computer and use it in GitHub Desktop.
#~/.bash_profile
. /usr/local/etc/bash_completion.d/git-prompt.sh
. /usr/local/etc/bash_completion.d/git-completion.bash
export PS1='\[\033[01;32m\]\h\[\033[01;34m\] \w\[\033[31m\] $(__git_ps1 "(%s)") \[\033[01;34m\]$\[\033[00m\] '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment