commit a836e1c48dc903309ac713150b40a51e9c55f154
parent f3b95d79654023ae6b7da4f35d2ad83006c871ba
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 2 Sep 2019 09:41:16 +0200
Do not color git branch in zsh prompt, update nnn
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.zshrc b/.zshrc
@@ -186,7 +186,7 @@ normal_mode='N' # normal mode indicator
rprompt() {
echo -n "%(?..%{$fg[red]%}[%?]%{$reset_color%})" # return status
echo -n "${EXECTIME} " # runtime of prev cmd
- echo -n "%{$fg[cyan]%}$(git_branch)%{$reset_color%}" # git branch
+ echo -n "$(git_branch)"
echo -n "%~ " # pwd
[ "$USER" != "ad" ] && echo -n "%n@" || :
[ "$HOST" != "idkfa" ] && echo -n "%m" || :