From a3dcbefa5fc34a5404c13e4855f7bd24d3aab6d3 Mon Sep 17 00:00:00 2001 From: Mark Szymanski Date: Tue, 12 Oct 2010 17:34:00 -0500 Subject: [PATCH] Added minimal theme --- themes/minimal/minimal.theme.bash | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 themes/minimal/minimal.theme.bash 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 -- 2.17.1