Created
September 30, 2014 20:20
-
-
Save trieut/e4a04eb6e95a0b067c46 to your computer and use it in GitHub Desktop.
A nice bash prompt from the Babun (babun.github.io) project. Works well w/ bash on OS X and Linux too.
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
PS1="\[\033[00;34m\]{ \[\033[01;34m\]\W \[\033[00;34m\]}\[\033[01;32m\] \$( git rev-parse --abbrev-ref HEAD 2> /dev/null || echo "" ) \[\033[01;31m\]» \[\033[00m\]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment