diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2009-04-06 09:06:35 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2009-04-06 09:06:35 +0000 |
commit | b148a56869958ee691c57ddaf633a8a4e038b3dc (patch) | |
tree | 37ce65ca06f1bdf29affa77eed297b4d939b7ac8 /Doc | |
parent | 5f26203583ba19dc71a29b97a6fd35ad4da37375 (diff) | |
download | zsh-b148a56869958ee691c57ddaf633a8a4e038b3dc.tar.gz zsh-b148a56869958ee691c57ddaf633a8a4e038b3dc.tar.xz zsh-b148a56869958ee691c57ddaf633a8a4e038b3dc.zip |
26806 (doc tweaked): Add CORRECT_IGNORE variable
Diffstat (limited to 'Doc')
-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 |