Created
September 29, 2020 04:22
-
-
Save narate/dc5a645c685782a7e0c08decad284c0d to your computer and use it in GitHub Desktop.
My $PS1 for bash
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=\[\e[0;7;37m\] \[\e[0;1;7;37m\]\t\[\e[0;7;37m\] \[\e[0;7;38;5;33m\] \[\e[0;7;38;5;33m\]\u\[\e[0;7;38;5;33m\] \[\e[0;7;38;5;40m\] \[\e[0;7;38;5;40m\]\w\[\e[0;7;38;5;40m\] \[\e[0;7;38;5;202m\] ⎇ \[\e[0;7;38;5;202m\]$(git branch 2>/dev/null | grep '^*' | colrm 1 2)\[\e[0;7;38;5;202m\] \[\e[0m\]\[\e[m\]\n\[\e[0m\]\$\[\e[m\] \[\e0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Screen shot
