Skip to content

Instantly share code, notes, and snippets.

@jarod022
Created January 19, 2012 19:06
Show Gist options
  • Save jarod022/1641868 to your computer and use it in GitHub Desktop.
Save jarod022/1641868 to your computer and use it in GitHub Desktop.
GIT Color bashrc
# Show the current git branch
COLOR_RESET="\033[00m"
RED="\033[0;31m"
YELLOW="\033[0;33m"
GREEN="\033[0;32m"
PS1='[\u@\h \W$(__git_ps1 " (\[$YELLOW\]%s\[$COLOR_RESET\])")]\$ '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment