diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-06-20 21:56:17 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-06-20 21:56:17 +0200 |
commit | d0e1855b51299054168911a2c2f3875bd69060c1 (patch) | |
tree | 93203fe5cecde3d52788c62d1c1473bf7c150e95 /.config/zsh | |
parent | c5f24fccdf6ba5df7e9359751e8aea98f047a89f (diff) |
Fix better color scheme on vcs in propmt
Diffstat (limited to '.config/zsh')
-rw-r--r-- | .config/zsh/prompt | 4 |
1 files 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 } |