Skip to content

Instantly share code, notes, and snippets.

@mu-777
Created February 3, 2020 04:15
Show Gist options
  • Save mu-777/cc19cd86b9d642c740315a9e2bfa6d27 to your computer and use it in GitHub Desktop.
Save mu-777/cc19cd86b9d642c740315a9e2bfa6d27 to your computer and use it in GitHub Desktop.
if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u:\[\033[01;34m\]\w\[\033[30m\]$(__git_ps1)\[\033[00m\] \$ '
else
PS1='${debian_chroot:+($debian_chroot)}\u:\w$(__git_ps1) \$ '
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment