Skip to content

Instantly share code, notes, and snippets.

@brunosimsenhor
Created January 30, 2019 12:05
Show Gist options
  • Select an option

  • Save brunosimsenhor/4077d6a31d32adf5af1df1b50e4c5b8f to your computer and use it in GitHub Desktop.

Select an option

Save brunosimsenhor/4077d6a31d32adf5af1df1b50e4c5b8f to your computer and use it in GitHub Desktop.

Revisions

  1. brunosimsenhor created this gist Jan 30, 2019.
    7 changes: 7 additions & 0 deletions PS1
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    # \[\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