diff --git a/themes/envision/envision.theme.bash b/themes/envision/envision.theme.bash new file mode 100644 index 00000000..d519962d --- /dev/null +++ b/themes/envision/envision.theme.bash @@ -0,0 +1,18 @@ +#!/usr/bin/env bash + +prompt_setter() { + # Save history + history -a + history -c + history -r + PS1="$yellow(\t)$reset_color $(scm_char) [$cyan\u$reset_color@$green\H$reset_color] $blue\w${reset_color}$red$(scm_prompt_info)$reset_color # " + PS2='> ' + PS4='+ ' +} + +PROMPT_COMMAND=prompt_setter + +SCM_THEME_PROMPT_DIRTY=" ${bold_red}✗${red}" +SCM_THEME_PROMPT_CLEAN=" ${bold_green}✓${red}" +SCM_THEME_PROMPT_PREFIX=" (" +SCM_THEME_PROMPT_SUFFIX=")"