Skip to content

Instantly share code, notes, and snippets.

@iversond
Created April 20, 2019 15:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iversond/135fa17dec02c65bca8c8f0b5cbfa765 to your computer and use it in GitHub Desktop.
Save iversond/135fa17dec02c65bca8c8f0b5cbfa765 to your computer and use it in GitHub Desktop.
My preferred bash prompt
PS1=$'\\[\\033]0;\\W\\007\\]\\[\E[1m\\]\\n\\[\E[38;5;166m\\]\\u\\[\E[97m\\] at \\[\E[38;5;136m\\]\\h\\[\E[97m\\] in \\[\E[38;5;64m\\]\\w\\n\\[\E[97m\\]$ \\[\E(B\E[m\\]'
PS2=$'\\[\E[38;5;136m\\]\206\222 \\[\E(B\E[m\\]'
PS4='+ '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment