From: Mark Szymanski Date: Tue, 12 Oct 2010 22:34:00 +0000 (-0500) Subject: Added minimal theme X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=a3dcbefa5fc34a5404c13e4855f7bd24d3aab6d3;p=common%2Fbash_it.git 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