Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# I am tired of losing this.
# Pretty PS1, and shows git branch.
export PS1="\[\033[0;38m\][ \[\033[0;37m\]\u\[\033[0;31m\] \h \[\033[0;33m\]\w\[\033[0;32m\]\$(__git_ps1 ":%s")\[\033[0;38m\] ] \[\033[0m\]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment