$SPROMPT  –  Prompt for spelling correction

$SPROMPT is the prompt for spelling correction. %R expands to the word to be corrected, and %r expands to the correction.

Examples

Print current Zsh spelling correction prompt
1
typeset SPROMPT
Output:
1
SPROMPT='zsh: correct '\''%R'\'' to '\''%r'\'' [nyae]? '
BashSupport Pro is a Zsh IDE with support for $SPROMPTtry it now!
© 2020–2024 Joachim Ansorg
Imprint
Privacy Policy
Legal