Created
April 3, 2016 12:15
-
-
Save sonalkr132/8b9f4f19eadfefdad56f5f6df061a99f to your computer and use it in GitHub Desktop.
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
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\] \[\033[33;1m\]\w\[\033[m\] (\$(git branch 2>/dev/null | grep '^*' | colrm 1 2)) \$ " | |
# gives me: | |
wayne ~/dev/lrn (master) $ # my name in green, curr dir in yellow, and branch in green |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment