Created
January 19, 2012 19:06
-
-
Save jarod022/1641868 to your computer and use it in GitHub Desktop.
GIT Color bashrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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