neato theme based on oh-my-zsh "candy" and bash-it "candy" and "bobby" themes

pull/298/head
Michael Bradley, Jr 2014-05-19 09:33:20 -05:00
parent 5606191c7d
commit 2025d2f98b
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
#!/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}]"
function prompt_command() {
# PS1="${green}\u@\h ${blue}\T ${reset_color}${white}\w${reset_color}$(scm_prompt_info)${blue} →${bold_blue} ${reset_color} ";
PS1="${bold_green}\u@\h ${bold_blue}[\T] ${reset_color}${white}[\w]${reset_color}$(scm_prompt_info)${blue}\n-> ${bold_blue}% ${reset_color}";
}
PROMPT_COMMAND=prompt_command;