$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.

BashSupport Pro is a Zsh IDE with support for $PSVARtry it now!
© 2020–2026 Joachim Ansorg
Imprint
Privacy Policy
Legal