$PSVAR
–
Elements available to $PROMPT
$PSVAR
defines elements which can be used in $PROMPT
strings using %<n>v
expansions.
It’s defined as a colon-separated string. $psvar
contains the same data as an array.
Links
BashSupport Pro is a Zsh IDE with support for $PSVAR – try it now!