diff --git a/themes/minimal/minimal.theme.bash b/themes/minimal/minimal.theme.bash new file mode 100644 index 00000000..96d0a8b9 --- /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