commit cfbca883bd27e76ae1595b663a4aaf10fbc51a30 parent e780b3606c2a08247922e403854a0e589a597d6c Author: Anders Damsgaard Christensen <adc@geo.au.dk> Date: Fri, 3 Feb 2017 11:06:06 -0800 show return value, change color of bg job numbers in prompt Diffstat:
M | .zshrc | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.zshrc b/.zshrc @@ -16,8 +16,8 @@ promptinit colors # check for background jobs -local bg_jobs="%(1j.%{$fg[yellow]%}%j%{$reset_color%}%{$fg[red]%}z %{$reset_color%}.)" -local return_status="%{$fg[red]%}%(?..!)%{$reset_color%}" +local bg_jobs="%(1j.%{$fg[yellow]%}%j%{$fg[blue]%}bg %{$reset_color%}.)" +local return_status="%(?..%{$fg[red]%}%?%{$reset_color%})" local prompt_root="%(!.%{$fg_bold[red]%}#.%{$fg[green]%}$)%{$reset_color%}" PROMPT="