From 9649ac23368048657f7b151e5be4a8b06975f4d5 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Wed, 11 May 2022 20:16:38 -0500 Subject: Update zsh prompt --- configs/shared/.zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/shared/.zshrc b/configs/shared/.zshrc index a6cb5e3..4bbc3d8 100644 --- a/configs/shared/.zshrc +++ b/configs/shared/.zshrc @@ -1,11 +1,11 @@ autoload -Uz vcs_info zstyle ":vcs_info:*" enable git svn -zstyle ":vcs_info:git*" formats "- (%b) " +zstyle ':vcs_info:git:*' formats '%F{green}(%b)%f ' precmd() { vcs_info } setopt prompt_subst -prompt="%2/ ${vcs_info_msg_0_}> " +PROMPT=' %~ ${vcs_info_msg_0_}%# ' export EDITOR="nvim" export BROWSER="firefox" -- cgit v1.2.3