summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorIsaac Wolkerstorfer <i@agnoster.net>2012-12-21 11:33:23 -0500
committerIsaac Wolkerstorfer <i@agnoster.net>2012-12-21 11:45:57 -0500
commite4624c6a36a48dbae2d16241ee39ee14ce003f9f (patch)
treef91ad1b8c0708a40369763097163c59c7980788e /themes
parent397c085a19a22f6be515665835d09a2505cb3f23 (diff)
downloadzsh-e4624c6a36a48dbae2d16241ee39ee14ce003f9f.tar.gz
zsh-e4624c6a36a48dbae2d16241ee39ee14ce003f9f.tar.bz2
zsh-e4624c6a36a48dbae2d16241ee39ee14ce003f9f.zip
Revert "agnoster theme shows error code instead of an "x""
This reverts commit f09af5717923cca4e5c538e14846ea4816295949. It is far more aesthetically pleasing, and conveys the correct amount of information. The exact numeric status code is extremely rarely of use, and increases cognitive parsing burden on the user. (cherry picked from commit 8f664edcaf55adcc540f0fe43d4205b66e4f9fb6)
Diffstat (limited to 'themes')
-rw-r--r--themes/agnoster.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/agnoster.zsh-theme b/themes/agnoster.zsh-theme
index bd6f1a6a2..c3107c06c 100644
--- a/themes/agnoster.zsh-theme
+++ b/themes/agnoster.zsh-theme
@@ -95,7 +95,7 @@ prompt_dir() {
prompt_status() {
local symbols
symbols=()
- [[ $RETVAL -ne 0 ]] && symbols+="%{%F{red}%}$RETVAL"
+ [[ $RETVAL -ne 0 ]] && symbols+="%{%F{red}%}✘"
[[ $UID -eq 0 ]] && symbols+="%{%F{yellow}%}⚡"
[[ $(jobs -l | wc -l) -gt 0 ]] && symbols+="%{%F{cyan}%}⚙"