$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 是一款支持 sprompt** 的 **Zsh 集成开发环境 - 立即试用!