diff options
Diffstat (limited to 'Doc/Zsh')
-rw-r--r-- | Doc/Zsh/options.yo | 3 | ||||
-rw-r--r-- | Doc/Zsh/params.yo | 11 |
2 files changed, 14 insertions, 0 deletions
diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo index 6b3ba34e8..0a03c8272 100644 --- a/Doc/Zsh/options.yo +++ b/Doc/Zsh/options.yo @@ -1007,6 +1007,9 @@ Try to correct the spelling of commands. Note that, when the tt(HASH_LIST_ALL) option is not set or when some directories in the path are not readable, this may falsely report spelling errors the first time some commands are used. + +The shell variable tt(CORRECT_IGNORE) may be set to a pattern to +match words that will never be offered as corrections. ) pindex(CORRECT_ALL) pindex(NO_CORRECT_ALL) diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo index dec742f07..7a8efdd94 100644 --- a/Doc/Zsh/params.yo +++ b/Doc/Zsh/params.yo @@ -797,6 +797,17 @@ item(tt(COLUMNS) <S>)( The number of columns for this terminal session. Used for printing select lists and for the line editor. ) +vindex(CORRECT_IGNORE) +item(tt(CORRECT_IGNORE))( +If set, is treated as a pattern during spelling correction. Any +potential correction that matches the pattern is ignored. For example, +if the value is `tt(_*)' then completion functions (which, by +convention, have names beginning with `tt(_)') will never be offered +as spelling corrections. The pattern does not apply the correction +of file names, as applied by the tt(CORRECT_ALL) option (so with the +example just given files beginning with `tt(_)' in the current +directory would still be completed). +) vindex(DIRSTACKSIZE) item(tt(DIRSTACKSIZE))( The maximum size of the directory stack. If the |