Created
June 10, 2013 12:02
-
-
Save javiervidal/5748246 to your computer and use it in GitHub Desktop.
PS1 with git branch
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
export PS1='\[\033[0;36m\][\h] \[\033[0;35m\]\u\[\033[0;33m\] \w\[\033[0;00m\] \[\033[0;37m\]$(__git_ps1 "(%s)")\[\033[0;00m\] $ ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Which shell do yo use?