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:
aceb959
)
Added comment to 'modern' theme
author
Mark Szymanski
<mrman208@me.com>
Fri, 17 Dec 2010 23:56:43 +0000
(17:56 -0600)
committer
Mark Szymanski
<mrman208@me.com>
Fri, 17 Dec 2010 23:56:43 +0000
(17:56 -0600)
themes/modern/modern.theme.bash
patch
|
blob
|
history
diff --git
a/themes/modern/modern.theme.bash
b/themes/modern/modern.theme.bash
index
6a58eef
..
0365276
100644
(file)
--- a/
themes/modern/modern.theme.bash
+++ b/
themes/modern/modern.theme.bash
@@
-22,6
+22,9
@@
modern_scm_prompt() {
prompt() {
if [ $? -ne 0 ]
then
+ # Yes, the indenting on these is weird, but it has to be like
+ # this otherwise it won't display properly.
+
PS1="${bold_red}┌─${reset_color}$(modern_scm_prompt)[${cyan}\W${normal}]
${bold_red}└─▪${normal} "
else