diff options
author | Bart Schaefer <schaefer@zsh.org> | 2024-01-24 18:06:44 -0800 |
---|---|---|
committer | Bart Schaefer <schaefer@zsh.org> | 2024-01-24 18:06:44 -0800 |
commit | 2a538491ebdaaf41ad07e5b7a4d4d994faafb355 (patch) | |
tree | 16c3e86656b44adbc7ff2c7949d1d192b5adbadd /Doc/Zsh/params.yo | |
parent | 1f861ceba1d5740798caa0a3f208f3047c6e3ff5 (diff) | |
download | zsh-2a538491ebdaaf41ad07e5b7a4d4d994faafb355.tar.gz zsh-2a538491ebdaaf41ad07e5b7a4d4d994faafb355.tar.xz zsh-2a538491ebdaaf41ad07e5b7a4d4d994faafb355.zip |
52496 + 52377: clarify SPROMPT behavior when CORRECT_ALL is set
Diffstat (limited to 'Doc/Zsh/params.yo')
-rw-r--r-- | Doc/Zsh/params.yo | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo index 68df4a16f..a6fbe6723 100644 --- a/Doc/Zsh/params.yo +++ b/Doc/Zsh/params.yo @@ -1635,9 +1635,13 @@ All other prompt escapes are also allowed. The actions available at the prompt are tt([nyae]): startsitem() -sitem(tt(n) +LPAR()`no'+RPAR() +LPAR()default+RPAR())(Discard the correction and run the command.) -sitem(tt(y) +LPAR()`yes'+RPAR())(Make the correction and run the command.) -sitem(tt(a) +LPAR()`abort'+RPAR())(Discard the entire command line without running it.) +sitem(tt(n) +LPAR()`no'+RPAR() +LPAR()default+RPAR())(Discard the correction. +If there are no more corrections, accept the command line, else (with +tt(CORRECT_ALL)) prompt for the next.) +sitem(tt(y) +LPAR()`yes'+RPAR())(Make the correction. If there are no more +corrections, accept the command line.) +sitem(tt(a) +LPAR()`abort'+RPAR())(Place the entire command line in the +history for later edit, but without accepting it.) sitem(tt(e) +LPAR()`edit'+RPAR())(Resume editing the command line.) endsitem() ) |