#!bash # This part of the prompt is taken from git-completion.bashrc. # It is shown only if __ps1_git is 1. By default it is 0. __ps1_git=${__ps1_git:-0} __ps1_git_colour256="0;38;5;33" __ps1_git_colour88="0;38;5;23" __ps1_git_colour="0;36" function __ps1_git() { [ "$__ps1_git" = "1" ] || return $1 __git_ps1 "$(__ps1_prefix $1 __ps1_git)"'%s' return $1 }