Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Revert "agnoster theme shows error code instead of an "x""

This reverts commit f09af57.

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)
  • Loading branch information...
commit e4624c6a36a48dbae2d16241ee39ee14ce003f9f 1 parent 397c085
@agnoster authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  themes/agnoster.zsh-theme
View
2  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}%}⚙"
Please sign in to comment.
Something went wrong with that request. Please try again.