From d0e1855b51299054168911a2c2f3875bd69060c1 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 20 Jun 2021 21:56:17 +0200 Subject: Fix better color scheme on vcs in propmt --- .config/zsh/prompt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/zsh/prompt b/.config/zsh/prompt index 2e23f47..80d58cc 100644 --- a/.config/zsh/prompt +++ b/.config/zsh/prompt @@ -29,13 +29,13 @@ zstyle ':vcs_info:git*+set-message:*' hooks git-untracked zstyle ':vcs_info:*' check-for-changes true # zstyle ':vcs_info:git:*' formats " %r/%S %b %m%u%c " -zstyle ':vcs_info:git:*' formats " %{$fg[red]%}%m%u%c%{$fg[yellow]%}  %{$fg[orange]%} %b" +zstyle ':vcs_info:git:*' formats " %{$fg[red]%}%m%u%c%{$fg[orange]%}%{$fg[yellow]%} %b%f" function set-prompt() { emulate -L zsh local top_left='%(5~|%-1~/…/%3~|%4~)' local top_right="\$vcs_info_msg_0_ " - local bottom_left='%B%F{%(?.green.red)}%#%f%b %{$reset_color%}' + local bottom_left='%B%F{%(?.white.red)}%#%f%b %{$reset_color%}' PROMPT=$top_left$top_right$'\n'$bottom_left } -- cgit v1.2.3-70-g09d2