]> git.huck.website - zsh.git/commitdiff
fixed: git prompt coloring
authorHuck Boles <huck.boles@metalplasmatechnology.com>
Fri, 20 Oct 2023 15:26:36 +0000 (08:26 -0700)
committerHuck Boles <huck.boles@metalplasmatechnology.com>
Fri, 20 Oct 2023 15:26:36 +0000 (08:26 -0700)
include/gitstatus.zsh

index e571c6d69a75faccc14a6e4a7fd06efa1d331563..f9174633d4e32154370c31e102978d900278f4cf 100644 (file)
@@ -104,13 +104,13 @@ function git_prompt_enhanced_status() {
 }
 
 # Default values for the appearance of the prompt.
-ZSH_THEME_GIT_PROMPT_PREFIX="["
-ZSH_THEME_GIT_PROMPT_SUFFIX="]"
+ZSH_THEME_GIT_PROMPT_PREFIX="%f%b["
+ZSH_THEME_GIT_PROMPT_SUFFIX="%f%b]"
 ZSH_THEME_GIT_PROMPT_SEPARATOR=""
 ZSH_THEME_GIT_PROMPT_STATUS_SEPARATOR=" "
 
 ZSH_THEME_GIT_PROMPT_BRANCH="%B%F{cyan}"
-ZSH_THEME_GIT_PROMPT_NO_UPSTREAM="(local)"
+ZSH_THEME_GIT_PROMPT_NO_UPSTREAM="%F{blue}(local)"
 ZSH_THEME_GIT_PROMPT_BEHIND="%F{yellow}v"
 ZSH_THEME_GIT_PROMPT_AHEAD="%F{magenta}^"
 ZSH_THEME_GIT_PROMPT_STASHED="%F{yellow}&"