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:
e553638
)
Added more colors to 'modern' theme
author
Mark Szymanski
<mrman208@me.com>
Sun, 5 Dec 2010 22:03:33 +0000
(16:03 -0600)
committer
Mark Szymanski
<mrman208@me.com>
Sun, 5 Dec 2010 22:03:33 +0000
(16:03 -0600)
themes/modern/modern.theme.bash
patch
|
blob
|
history
diff --git
a/themes/modern/modern.theme.bash
b/themes/modern/modern.theme.bash
index
8ba8715
..
2d0948f
100644
(file)
--- a/
themes/modern/modern.theme.bash
+++ b/
themes/modern/modern.theme.bash
@@
-20,10
+20,10
@@
modern_scm_prompt() {
prompt() {
if [ $? -ne 0 ]
then
- PS1="${bold_red}┌─${reset_color}$(modern_scm_prompt)[
\W
]
+ PS1="${bold_red}┌─${reset_color}$(modern_scm_prompt)[
${cyan}\W${normal}
]
${bold_red}└─▪${normal} "
else
- PS1="┌─$(modern_scm_prompt)[
\W
]
+ PS1="┌─$(modern_scm_prompt)[
${cyan}\W${normal}
]
└─▪ "
fi
}