-
-
Save joaofraga/7661cff07881eb508fd6 to your computer and use it in GitHub Desktop.
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[36m\]\u\[\033[m\]@\[\033[32m\] \[\033[33;1m\]\w\[\033[m\] (\$(git branch 2>/dev/null | grep '^*' | colrm 1 2)) \$ " | |
# gives me: | |
# jgfraga@ ~/development/ruby/project (master) # user 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