Skip to content

Instantly share code, notes, and snippets.

@tjogin
Created June 8, 2011 17:30
Show Gist options
  • Save tjogin/1014878 to your computer and use it in GitHub Desktop.
Save tjogin/1014878 to your computer and use it in GitHub Desktop.
.bash_profile
source ~/.bashrc
source ~/.git-completion.sh
source ~/.colors.sh
GIT_PS1_SHOWDIRTYSTATE=1
if [ "\$(type -t __git_ps1)" ]; then
#PS1="\h:\w \$(__git_ps1 '(%s)')$"
GIT_BRANCH="${BRIGHT_CYAN}\$(__git_ps1 '(${CYAN}%s${BRIGHT_CYAN})')${NORMAL}"
PS1="${WHITE}\h:\w $GIT_BRANCH \$ ${RESET}"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment