Add a wanelo bashit theme, with time! and emojis to indicate good status, bad status!
parent
6f79c9d760
commit
dd3ba69402
|
|
@ -0,0 +1,24 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
SCM_THEME_PROMPT_DIRTY=" ${red}✗"
|
||||||
|
SCM_THEME_PROMPT_CLEAN=" ${bold_green}✓"
|
||||||
|
SCM_THEME_PROMPT_PREFIX=" |"
|
||||||
|
SCM_THEME_PROMPT_SUFFIX="${green}|"
|
||||||
|
|
||||||
|
GIT_THEME_PROMPT_DIRTY=" ${red}✗"
|
||||||
|
GIT_THEME_PROMPT_CLEAN=" ${bold_green}✓"
|
||||||
|
GIT_THEME_PROMPT_PREFIX=" ${green}|"
|
||||||
|
GIT_THEME_PROMPT_SUFFIX="${green}|"
|
||||||
|
|
||||||
|
RVM_THEME_PROMPT_PREFIX="|"
|
||||||
|
RVM_THEME_PROMPT_SUFFIX="|"
|
||||||
|
|
||||||
|
function prompt_command() {
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
status=❤️
|
||||||
|
else
|
||||||
|
status=💔
|
||||||
|
fi
|
||||||
|
PS1="\n${yellow}$(ruby_version_prompt) ${purple}\h ${reset_color}in ${green}\w\n${bold_cyan} ${blue}|\t|${green}$(scm_prompt_info) $status ${green}→${reset_color} "
|
||||||
|
}
|
||||||
|
|
||||||
|
PROMPT_COMMAND=prompt_command;
|
||||||
Loading…
Reference in New Issue