diff --git a/themes/neato/neato.theme.bash b/themes/neato/neato.theme.bash new file mode 100755 index 00000000..e72358c7 --- /dev/null +++ b/themes/neato/neato.theme.bash @@ -0,0 +1,17 @@ +#!/usr/bin/env bash + +SCM_THEME_PROMPT_DIRTY=" ${red}*" +SCM_THEME_PROMPT_CLEAN="" +SCM_THEME_PROMPT_PREFIX=" [" +SCM_THEME_PROMPT_SUFFIX="${green}]" + +GIT_THEME_PROMPT_DIRTY=" ${red}*" +GIT_THEME_PROMPT_CLEAN="" +GIT_THEME_PROMPT_PREFIX=" ${green}[" +GIT_THEME_PROMPT_SUFFIX="${green}]" + +function prompt_command() { + PS1="${bold_green}\u@\h ${bold_blue}[\T] ${reset_color}$(color reset white)[\w]${reset_color}$(scm_prompt_info)${reset_color}\n${blue}-> ${bold_blue}% ${reset_color}"; +} + +PROMPT_COMMAND=prompt_command;