Skip to content

Instantly share code, notes, and snippets.

@inkel
Created May 10, 2012 19:24
Show Gist options
  • Save inkel/2655277 to your computer and use it in GitHub Desktop.
Save inkel/2655277 to your computer and use it in GitHub Desktop.
PS1
_gs_ps1() {
[[ -z $GS_NAME ]] || echo "[$GS_NAME] "
}
export PS1="\n\[\033[01;32m\]\w \[\033[1;33m\]\$(_gs_ps1)\[\033[01;31m\]\$(__git_ps1 \"(%s) \")\[\033[01;36m\]>>\[\033[00m\] "
export PS1="\[\033[G\]$PS1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment