Added minimal theme
authorMark Szymanski <mrman208@me.com>
Tue, 12 Oct 2010 22:34:00 +0000 (17:34 -0500)
committerMark 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]

diff --git a/themes/minimal/minimal.theme.bash b/themes/minimal/minimal.theme.bash
new file mode 100644 (file)
index 0000000..96d0a8b
--- /dev/null
@@ -0,0 +1,9 @@
+prompt_setter() {
+       if [[ $? -eq 0 ]]; then
+               PS1="\W "
+       else
+               PS1="${red}\W ${reset_color}"
+       fi
+}
+
+PROMPT_COMMAND=prompt_setter