commit | a3dcbefa5fc34a5404c13e4855f7bd24d3aab6d3 | [log] [tgz] |
---|---|---|
author | Mark Szymanski <mrman208@me.com> | 周二 10月 12 17:34:00 2010 -0500 |
committer | Mark Szymanski <mrman208@me.com> | 周二 10月 12 17:34:00 2010 -0500 |
tree | 258d2fe7002d43f2695cd59edff87ad7a9d78dad | |
parent | 50b19d8bef6cad2daa0ede1912557d72064cc9a9 [diff] [blame] |
Added minimal theme
diff --git a/themes/minimal/minimal.theme.bash b/themes/minimal/minimal.theme.bash new file mode 100644 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