Add USER_COLOR

This commit is contained in:
Sage Vaillancourt 2020-04-23 11:59:43 -04:00
parent dbbd3a136c
commit a19cc96ca0
1 changed files with 2 additions and 1 deletions

3
.zshrc
View File

@ -29,9 +29,10 @@ precmd() { vcs_info }
zstyle ':vcs_info:git:*' formats ' [%b]' zstyle ':vcs_info:git:*' formats ' [%b]'
_COMP_COLOR=${COMP_COLOR:-"{white}"} _COMP_COLOR=${COMP_COLOR:-"{white}"}
_USER_COLOR=${USER_COLOR:-"{blue}"}
setopt PROMPT_SUBST setopt PROMPT_SUBST
PROMPT="[%(!.%B%F{red}.%B%F{blue})%n%b%F{white}@%B%F$_COMP_COLOR%m%b%f] %b%F{green}%~%B%F{yellow}${vcs_info_msg_0_} %B%f$%b%f " PROMPT="[%(!.%B%F{red}.%B%F$_USER_COLOR)%n%b%F{white}@%B%F$_COMP_COLOR%m%b%f] %b%F{green}%~%B%F{yellow}${vcs_info_msg_0_} %B%f$%b%f "
# enable color support of ls and also add handy aliases # enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then if [ -x /usr/bin/dircolors ]; then