$RPROMPT2
–
Secondary prompt on the right-hand side
$RPROMPT2
defines the prompt to show on the right-hand side of the screen
when the secondary prompt is displayed on the left.
$RPS2
contains the same value.
Links
BashSupport Pro is a Zsh IDE with support for $RPROMPT2 – try it now!