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. --- ChangeLog | 5 +++++ Doc/Zsh/options.yo | 9 ++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 11ee850f3..c9d592af5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-07-11 Bart Schaefer + + * 15375: Doc/Zsh/options.yo: Explain the effect of CORRECT on + HASH_CMDS et al. + 2001-07-10 Sven Wischnowsky * 15357: Completion/Base/Completer/_prefix, Src/Zle/compcore.c, 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