zsh: new error icon in prompt
This commit is contained in:
parent
1e0ac2b51b
commit
131d2097cc
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ render_exit_code() {
|
||||||
if ((PROMPT_EXIT_CODE > 128 && PROMPT_EXIT_CODE < 160)); then
|
if ((PROMPT_EXIT_CODE > 128 && PROMPT_EXIT_CODE < 160)); then
|
||||||
print "%{%B%}${zfg[white]}$(kill -l $PROMPT_EXIT_CODE)%{%b%}"
|
print "%{%B%}${zfg[white]}$(kill -l $PROMPT_EXIT_CODE)%{%b%}"
|
||||||
else
|
else
|
||||||
print "%{%B%}${zfg[red]}✘ $PROMPT_EXIT_CODE%{%b%}"
|
print "%{%B%}${zfg[red]} $PROMPT_EXIT_CODE%{%b%}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue