Skip to content

Instantly share code, notes, and snippets.

@russmac
Created February 1, 2023 11:44
Show Gist options
  • Save russmac/b871fa5b455e6a00b1f94bd590f1d976 to your computer and use it in GitHub Desktop.
Save russmac/b871fa5b455e6a00b1f94bd590f1d976 to your computer and use it in GitHub Desktop.
PS1='\[\e[0;3;38;5;25;48;5;238m\]\u\[\e[0m\]:\[\e[0;38;5;249;48;5;22m\]\t\[\e[0;97m\][\[\e[0m\]\w\[\e[0m\]]\[\e[0;38;5;53;48;5;251m\]$?\[\e(\[\e[0;38;5;244;48;5;17m\]($(git branch 2>/dev/null | grep '"'"'^*'"'"' | colrm 1 2)\[\e[0m\])\[\e[0m\]\[\e[0;38;5;250;48;5;239m\]$\[\e[0m\]\[\e[0m\] \[\e0'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment