Creates my custom theme.

pull/583/head
Kevin Anderson 2015-09-30 17:39:29 -06:00
parent 6ad5f97e87
commit 36868f612e
1 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,23 @@
#!/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}|"
SCM_GIT_UNTRACKED_CHAR="${orange}?:"
SCM_GIT_UNSTAGED_CHAR="${red}U:"
SCM_GIT_STAGED_CHAR="${green}S:"
RVM_THEME_PROMPT_PREFIX="|"
RVM_THEME_PROMPT_SUFFIX="|"
function prompt_command() {
PS1="${purple}\u${cyan}@${purple}\h${bold_purple} \n${yellow}$(ruby_version_prompt) ${bold_cyan}\w${green}$(scm_prompt_info) ${bold_green}\$${reset_color}"
}
PROMPT_COMMAND=prompt_command;