Code Review
/
common
/
bash_it.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
8a3d525
)
Added colors to 'modern' theme
author
Mark Szymanski
<mrman208@me.com>
Sun, 5 Dec 2010 21:49:51 +0000
(15:49 -0600)
committer
Mark Szymanski
<mrman208@me.com>
Sun, 5 Dec 2010 21:49:51 +0000
(15:49 -0600)
themes/modern/modern.theme.bash
patch
|
blob
|
history
diff --git
a/themes/modern/modern.theme.bash
b/themes/modern/modern.theme.bash
index
85bcfe0
..
8ba8715
100644
(file)
--- 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 ]