Created
July 29, 2014 17:41
-
-
Save curiouslychase/1ea9031b43329210602a to your computer and use it in GitHub Desktop.
commandprompt
This file contains hidden or 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
| # Make that Command Prompt look good | |
| export GIT_PS1_SHOWDIRTYSTATE=true | |
| export GIT_PS1_SHOWSTASHSTATE=true | |
| export GIT_PS1_SHOWUNTRACKEDFILES=true | |
| usrcolor='\e[0;31m' | |
| dircolor='\e[m:\e[1;34m' | |
| gitcolor='\e[1;32m' | |
| closer='\e[m' | |
| gitstatus='$(__git_ps1 " %s")' | |
| PS1="[\[$usrcolor\]\u\[$dircolor\]\w\[$closer\]]\[$gitcolor\]\[$gitstatus\]\[$closer\]\n> " | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment