Created
September 15, 2014 20:59
-
-
Save lectroidmarc/9fcb32afa54529e64027 to your computer and use it in GitHub Desktop.
Shows how to set up a colorized git prompt
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
source ~/.git-completion.bash | |
source ~/.git-prompt.sh | |
#PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ ' | |
PS1='[\u@\h \W$(__git_ps1 " (\[\e[0;33m\]%s\[\e[0m\])")]\$ ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment