From 2b0b30e8b9b130daaf73ab20f66c002813c6868f Mon Sep 17 00:00:00 2001 From: Riyyi Date: Wed, 10 Jan 2018 16:47:01 +0100 Subject: [PATCH] Optimize more zsh colors --- .config/zsh/.zshrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 6b14783..7e8a699 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -33,9 +33,9 @@ RPROMPT='%t' # Git zstyle ':vcs_info:*' enable git zstyle ':vcs_info:*' check-for-changes true -zstyle ':vcs_info:*' stagedstr "$fg[green]A$reset_color" -zstyle ':vcs_info:*' unstagedstr "$fg[red]M$reset_color" -zstyle ':vcs_info:*' formats "$fg[cyan]($fg[red]%b$fg[cyan])$reset_color %c%u" +zstyle ':vcs_info:*' stagedstr "%F{green}A%f" +zstyle ':vcs_info:*' unstagedstr "%F{red}M%f" +zstyle ':vcs_info:*' formats '%F{cyan}(%F{red}%b%F{cyan})%f %c%u' # Autocompletion compinit -d $XDG_CACHE_HOME/zcompdump