Skip to content

Instantly share code, notes, and snippets.

@narate
Created September 29, 2020 04:22
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save narate/dc5a645c685782a7e0c08decad284c0d to your computer and use it in GitHub Desktop.
Save narate/dc5a645c685782a7e0c08decad284c0d to your computer and use it in GitHub Desktop.
My $PS1 for bash
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
@narate
Copy link
Author

narate commented Sep 29, 2020

Screen shot
Screen Shot 2563-09-29 at 11 21 31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment