From 6e47aead7bdd2a61b74f5a5721debd7643cc3c50 Mon Sep 17 00:00:00 2001 From: Eric Keller Date: Fri, 10 Dec 2021 21:08:20 +0100 Subject: [PATCH] add red color return code of previous command to prompt --- themes/muse.zsh-theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/muse.zsh-theme b/themes/muse.zsh-theme index 84bee52c3..3d271b66c 100644 --- a/themes/muse.zsh-theme +++ b/themes/muse.zsh-theme @@ -1,4 +1,4 @@ -PROMPT="${FG[117]}%~%{$reset_color%}\$(git_prompt_info)\$(virtualenv_prompt_info)${FG[133]}\$(git_prompt_status) ${FG[077]}ᐅ%{$reset_color%} " +PROMPT="${FG[117]}%~%{$reset_color%}\$(git_prompt_info)\$(virtualenv_prompt_info)${FG[133]}\$(git_prompt_status) ${FG[077]}%(?..${FG[160]}[%?] )ᐅ%{$reset_color%} " ZSH_THEME_GIT_PROMPT_PREFIX=" ${FG[012]}(" ZSH_THEME_GIT_PROMPT_SUFFIX="${FG[012]})%{$reset_color%}"