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:
50b19d8
)
Added minimal theme
author
Mark Szymanski
<mrman208@me.com>
Tue, 12 Oct 2010 22:34:00 +0000
(17:34 -0500)
committer
Mark Szymanski
<mrman208@me.com>
Tue, 12 Oct 2010 22:34:00 +0000
(17:34 -0500)
themes/minimal/minimal.theme.bash
[new file with mode: 0644]
patch
|
blob
diff --git a/themes/minimal/minimal.theme.bash
b/themes/minimal/minimal.theme.bash
new file mode 100644
(file)
index 0000000..
96d0a8b
--- /dev/null
+++ b/
themes/minimal/minimal.theme.bash
@@ -0,0
+1,9
@@
+prompt_setter() {
+ if [[ $? -eq 0 ]]; then
+ PS1="\W "
+ else
+ PS1="${red}\W ${reset_color}"
+ fi
+}
+
+PROMPT_COMMAND=prompt_setter