Skip to content

Instantly share code, notes, and snippets.

@brunosimsenhor
Created January 30, 2019 12:05
Show Gist options
  • Save brunosimsenhor/4077d6a31d32adf5af1df1b50e4c5b8f to your computer and use it in GitHub Desktop.
Save brunosimsenhor/4077d6a31d32adf5af1df1b50e4c5b8f to your computer and use it in GitHub Desktop.
# \[\033[01;33m\]$(__git_ps1)
if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[01;33m\]$(__git_ps1)\[\033[00m\] \$ '
else
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w$(__git_ps1) \$ '
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment