From a19cc96ca03febc0512b4e98585b8c2474cfd4aa Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Thu, 23 Apr 2020 11:59:43 -0400 Subject: [PATCH] Add USER_COLOR --- .zshrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index eccd1ae..5403faf 100644 --- a/.zshrc +++ b/.zshrc @@ -29,9 +29,10 @@ precmd() { vcs_info } zstyle ':vcs_info:git:*' formats ' [%b]' _COMP_COLOR=${COMP_COLOR:-"{white}"} +_USER_COLOR=${USER_COLOR:-"{blue}"} 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 if [ -x /usr/bin/dircolors ]; then