summary refs log tree commit diff
path: root/Doc/Zsh
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2012-01-08 16:02:54 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2012-01-08 16:02:54 +0000
commitc214b86e9456b2e5eda47bc7710ced0c455df70e (patch)
treeba61292c2eaa78531ac5232d3535334e0d4ab7cf /Doc/Zsh
parent59ff3c692096a671c5b78669f39e7b1e5d00df62 (diff)
downloadzsh-c214b86e9456b2e5eda47bc7710ced0c455df70e.tar.gz
zsh-c214b86e9456b2e5eda47bc7710ced0c455df70e.tar.xz
zsh-c214b86e9456b2e5eda47bc7710ced0c455df70e.zip
30101: add HASH_EXECUTABLES_ONLY option
Diffstat (limited to 'Doc/Zsh')
-rw-r--r--Doc/Zsh/options.yo14
1 files changed, 14 insertions, 0 deletions
diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo
index 4bf55fa0c..dd237c0ef 100644
--- a/Doc/Zsh/options.yo
+++ b/Doc/Zsh/options.yo
@@ -1155,6 +1155,20 @@ 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 neither tt(HASH_CMDS) nor tt(CORRECT) is set.
 )
+pindex(HASH_EXECUTABLES_ONLY)
+pindex(NO_HASH_EXECUTABLES_ONLY)
+pindex(HASHEXECUTABLESONLY)
+pindex(NOHASHEXECUTABLESONLY)
+cindex(hashing, of executables)
+cindex(executables, hashing)
+item(tt(HASH_EXECUTABLES_ONLY))(
+When hashing commands because of tt(HASH_COMMANDS), check that the
+file to be hashed is actually an executable.  This option
+is unset by default as if the path contains a large number of commands,
+or consists of many remote files, the additional tests can take
+a long time.  Trial and error is needed to show if this option is
+beneficial.
+)
 pindex(MAIL_WARNING)
 pindex(NO_MAIL_WARNING)
 pindex(MAILWARNING)