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:
@@ -5,16 +5,16 @@ prompt_setter() {
|
||||
history -a
|
||||
history -c
|
||||
history -r
|
||||
PS1="(\t) $(prompt_char) [\[$blue\]\u\[$reset_color\]@\[$green\]\H\[$reset_color\]] \[$yellow\]\w\[$reset_color\]$(git_prompt_info)$(rvm_version_prompt) $\[$reset_color\] "
|
||||
PS1="(\t) $(scm_char) [\[$blue\]\u\[$reset_color\]@\[$green\]\H\[$reset_color\]] \[$yellow\]\w\[$reset_color\]$(scm_prompt_info)$(rvm_version_prompt) $\[$reset_color\] "
|
||||
PS2='> '
|
||||
PS4='+ '
|
||||
}
|
||||
|
||||
PROMPT_COMMAND=prompt_setter
|
||||
|
||||
GIT_THEME_PROMPT_DIRTY=" ✗"
|
||||
GIT_THEME_PROMPT_CLEAN=" ✓"
|
||||
GIT_THEME_PROMPT_PREFIX=" ("
|
||||
GIT_THEME_PROMPT_SUFFIX=")"
|
||||
SCM_THEME_PROMPT_DIRTY=" ✗"
|
||||
SCM_THEME_PROMPT_CLEAN=" ✓"
|
||||
SCM_THEME_PROMPT_PREFIX=" ("
|
||||
SCM_THEME_PROMPT_SUFFIX=")"
|
||||
RVM_THEME_PROMPT_PREFIX=" ("
|
||||
RVM_THEME_PROMPT_SUFFIX=")"
|
||||
|
||||
Reference in New Issue
Block a user