zsh: new error icon in prompt

This commit is contained in:
Fernando Schauenburg 2024-07-28 23:06:42 +02:00
parent 1e0ac2b51b
commit 131d2097cc

View file

@ -61,7 +61,7 @@ render_exit_code() {
if ((PROMPT_EXIT_CODE > 128 && PROMPT_EXIT_CODE < 160)); then
print "%{%B%}${zfg[white]}$(kill -l $PROMPT_EXIT_CODE)%{%b%}"
else
print "%{%B%}${zfg[red]} $PROMPT_EXIT_CODE%{%b%}"
print "%{%B%}${zfg[red]} $PROMPT_EXIT_CODE%{%b%}"
fi
}