From 73d0e1adb18b095fcba9527fab0c865ab7f25e30 Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Thu, 12 Jul 2001 03:44:26 +0000 Subject: Explain the effect of CORRECT on HASH_CMDS et al. --- Doc/Zsh/options.yo | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Doc/Zsh/options.yo') 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) )( 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) )( -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) )( -- cgit 1.4.1