4 ms·
zsh has RPROMPT, which displays on the right of your prompt and gets overwritten if you write a long command. I use it to show the last command's exit status an
by philh 14y ago
zsh has RPROMPT, which displays on the right of your prompt and gets overwritten if you write a long command. I use it to show the last command's exit status and my current git branch, effectively without taking up space.