Theme changes

* Load colors before base theme so they can be used by base theme
 * Change git-specific variables to SCM-agnostic ones
This commit is contained in:
John Schulz
2010-11-09 23:21:19 -05:00
parent 64eb33844d
commit d5645e74a0
9 changed files with 98 additions and 46 deletions

View File

@@ -1,6 +1,10 @@
#!/bin/bash
SCM_THEME_PROMPT_DIRTY=" ${red}"
SCM_THEME_PROMPT_CLEAN=" ${bold_green}"
SCM_THEME_PROMPT_PREFIX=" |"
SCM_THEME_PROMPT_SUFFIX="${green}|"
PROMPT="\[${bold_blue}\]\[\$(prompt_char)\]\[\$(git_prompt_info)\]\[${blue}\]\[\$(rvm_version_prompt) \]\[${orange}\]\h \[${reset_color}\]in \[${green}\]\w \[${reset_color}\]\[→ "
PROMPT="${bold_blue}\[\$(scm_char)\]${green}\$(scm_prompt_info)${blue}\$(rvm_version_prompt) ${orange}\h ${reset_color}in ${green}\w ${reset_color}\]\[→ "
# git theming
GIT_THEME_PROMPT_DIRTY=" ${red}"
@@ -10,3 +14,4 @@ GIT_THEME_PROMPT_SUFFIX="${green}|"
RVM_THEME_PROMPT_PREFIX=" |"
RVM_THEME_PROMPT_SUFFIX="|"