changed the git clean repository tick color to green, changed the user to cyan and added a hash (#) at the end of the prompt

pull/167/head^2
William Jamieson 2012-11-08 11:55:38 +11:00
parent 065894cc49
commit efa01217b8
1 changed files with 3 additions and 3 deletions

View File

@ -5,14 +5,14 @@ prompt_setter() {
history -a
history -c
history -r
PS1="$yellow(\t)$reset_color $(scm_char) [$blue\u$reset_color@$green\H$reset_color] $blue\w${reset_color}$red$(scm_prompt_info) $reset_color "
PS1="$yellow(\t)$reset_color $(scm_char) [$cyan\u$reset_color@$green\H$reset_color] $blue\w${reset_color}$red$(scm_prompt_info)$reset_color # "
PS2='> '
PS4='+ '
}
PROMPT_COMMAND=prompt_setter
SCM_THEME_PROMPT_DIRTY=" ✗"
SCM_THEME_PROMPT_CLEAN=" ✓"
SCM_THEME_PROMPT_DIRTY=" ${bold_red}${red}"
SCM_THEME_PROMPT_CLEAN=" ${bold_green}${red}"
SCM_THEME_PROMPT_PREFIX=" ("
SCM_THEME_PROMPT_SUFFIX=")"