14/04/2009
command exit status on zsh using RPROMPT
I’ve just updated by .zshrc so that I can get the exit status of commands on a “right prompt” using zsh’s RPROMPT variable. Exit status appears only if the value is non-zero.
You can find my zshrc and more dot files that I use in my Pages/My dot files
Filed by kargig at 12:32 under Linux,MacOSX
Tags: exit codes, Linux, prompt, zsh
No Comments | 13,265 views