about summary refs log tree commit diff
path: root/Doc/Zsh
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2001-07-12 03:44:26 +0000
committerBart Schaefer <barts@users.sourceforge.net>2001-07-12 03:44:26 +0000
commit73d0e1adb18b095fcba9527fab0c865ab7f25e30 (patch)
tree0337137600413ee3535388f74a4dc0c6cde9353f /Doc/Zsh
parentbd629defe8bf49b38a0e98b82f478d02dd715a81 (diff)
downloadzsh-73d0e1adb18b095fcba9527fab0c865ab7f25e30.tar.gz
zsh-73d0e1adb18b095fcba9527fab0c865ab7f25e30.tar.xz
zsh-73d0e1adb18b095fcba9527fab0c865ab7f25e30.zip
Explain the effect of CORRECT on HASH_CMDS et al.
Diffstat (limited to 'Doc/Zsh')
-rw-r--r--Doc/Zsh/options.yo9
1 files changed, 6 insertions, 3 deletions
diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo
index d2d952386..ad332b6a9 100644
--- a/Doc/Zsh/options.yo
+++ b/Doc/Zsh/options.yo
@@ -491,15 +491,18 @@ item(tt(HASH_CMDS) <D>)(
 Note the location of each command the first time it is executed.
 Subsequent invocations of the same command will use the
 saved location, avoiding a path search.
-If this option is unset, no path hashing will be done at all.
+If this option is unset, no path hashing is done at all.
+However, when tt(CORRECT) is set, commands whose names do not appear in
+the functions or aliases hash tables are hashed in order to avoid
+reporting them as spelling errors.
 )
 pindex(HASH_DIRS)
 cindex(hashing, of directories)
 cindex(directories, hashing)
 item(tt(HASH_DIRS) <D>)(
-Whenever a command is executed, hash the directory containing it,
+Whenever a command name is hashed, hash the directory containing it,
 as well as all directories that occur earlier in the path.
-Has no effect if tt(HASH_CMDS) is unset.
+Has no effect if neither tt(HASH_CMDS) nor tt(CORRECT) is set.
 )
 pindex(HASH_LIST_ALL)
 item(tt(HASH_LIST_ALL) <D>)(