From 185274e75afaed2e5cea072a2d149a45fb9d7651 Mon Sep 17 00:00:00 2001 From: Thang Do Date: Thu, 2 Jan 2025 14:27:33 +1030 Subject: [PATCH] style(afowler): Change color of the :: characters based on prev command exit code --- themes/afowler.zsh-theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/afowler.zsh-theme b/themes/afowler.zsh-theme index e097abc5a..e32000fb3 100644 --- a/themes/afowler.zsh-theme +++ b/themes/afowler.zsh-theme @@ -1,4 +1,4 @@ -PROMPT='%m %B%F{blue}:: %b%F{green}%3~ $(hg_prompt_info)$(git_prompt_info)%B%(?.%F{blue}.%F{red})»%f%b ' +PROMPT='%m %B%(?.%F{blue}.%F{red}):: %f%b%F{green}%3~ $(hg_prompt_info)$(git_prompt_info)%B%(?.%F{blue}.%F{red})»%f%b ' RPS1='%(?..%F{red}%? ↵%f)' ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}‹"