$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.
Links
Examples
- Print current Zsh spelling correction prompt
- Output:
1
typeset SPROMPT
1
SPROMPT='zsh: correct '\''%R'\'' to '\''%r'\'' [nyae]? '
BashSupport Pro is a Zsh IDE with support for $SPROMPT – try it now!