From: Mark Szymanski Date: Sun, 5 Dec 2010 21:49:51 +0000 (-0600) Subject: Added colors to 'modern' theme X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=e5536385777f1f18960a8d89868214521ceaef83;p=common%2Fbash_it.git Added colors to 'modern' theme --- diff --git a/themes/modern/modern.theme.bash b/themes/modern/modern.theme.bash index 85bcfe0..8ba8715 100644 --- a/themes/modern/modern.theme.bash +++ b/themes/modern/modern.theme.bash @@ -1,6 +1,12 @@ SCM_THEME_PROMPT_PREFIX="" SCM_THEME_PROMPT_SUFFIX="" +SCM_THEME_PROMPT_DIRTY=' ${bold_red}✗${normal}' +SCM_THEME_PROMPT_CLEAN=' ${bold_green}✓${normal}' +SCM_GIT_CHAR='${bold_green}±${normal}' +SCM_SVN_CHAR='${bold_cyan}⑆${normal}' +SCM_HG_CHAR='${bold_red}☿${normal}' + modern_scm_prompt() { CHAR=$(scm_char) if [ $CHAR = $SCM_NONE_CHAR ]