Skip to content

Instantly share code, notes, and snippets.

@ericjeker
Created April 16, 2024 00:58
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 ericjeker/453e188fa6b1b5dcee51051d32bee92e to your computer and use it in GitHub Desktop.
Save ericjeker/453e188fa6b1b5dcee51051d32bee92e to your computer and use it in GitHub Desktop.
Set PS1 to a clean prompt
PS1="\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;34m\]\w\[\033[00m\]\[\033[01;32m\]\$(__git_ps1 \" (%s)\")\[\033[01;35m\] \$\[\033[00m\] "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment