-
-
Save rasshofer/42265348c59e4695b696 to your computer and use it in GitHub Desktop.
My bash prompt (PS1)
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="\[$(tput bold)\]\[$(tput setaf 6)\]\u\[$(tput setaf 7)\]@\[$(tput setaf 2)\]\h \[$(tput setaf 3)\]\w\[$(tput setaf 1)\]\$(git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/') \[$(tput setaf 7)\]\\$ \[$(tput sgr0)\]" |
Author
rasshofer
commented
Nov 6, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment