Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (10 sloc) 488 Bytes
#export PS1='(\!) \u@\h:\W \[$PROMPT_SMILEY\]\$ ';
# to be executed every time before a prompt is displayed
#export PROMPT_COMMAND='[ $? -eq 0 ] && PROMPT_SMILEY="$(tput sgr0)" || PROMPT_SMILEY="$(tput setaf 1)! $(tput sgr0)"';
source ~/.bash/git-prompt.sh
export GIT_PS1_SHOWDIRTYSTATE=true
export GIT_PS1_SHOWSTASHSTATE=true
export GIT_PS1_SHOWUPSTREAM="auto"
export GIT_PS1_DESCRIBE_STYLE="branch"
export GIT_PS1_SHOWCOLORHINTS=true
export PS1='(\!) \u@\h:\W $(__git_ps1 "[%s] ")\$ '