summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Doc/Zsh/options.yo7
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f66ce6309..a22de8d47 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-06-11  Peter Stephenson  <pws@csr.com>
+
+	* 14840: Doc/Zsh/options.yo: document search behaviour with
+	PATH_DIRS option.
+
 2001-06-10  Clint Adams  <clint@zsh.org>
 
 	* 14830: config.guess, config.sub:
diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo
index 46acb9bbd..490946cd5 100644
--- a/Doc/Zsh/options.yo
+++ b/Doc/Zsh/options.yo
@@ -838,12 +838,17 @@ pindex(PATH_DIRS)
 cindex(path search, extended)
 item(tt(PATH_DIRS) (tt(-Q)))(
 Perform a path search even on command names with slashes in them.
-Thus if `tt(/usr/local/bin)' is in the user's path, and he types
+Thus if `tt(/usr/local/bin)' is in the user's path, and he or she types
 `tt(X11/xinit)', the command `tt(/usr/local/bin/X11/xinit)' will be executed
 (assuming it exists).
 Commands explicitly beginning with `tt(/)', `tt(./)' or `tt(../)'
 are not subject to the path search.
 This also applies to the tt(.) builtin.
+
+Note that subdirectories of the current directory are always searched for
+executables specified in this form.  This takes place before any search
+indicated by this option, and regardless of whether `tt(.)' or the current
+directory appear in the command search path.
 )
 pindex(POSIX_BUILTINS)
 item(tt(POSIX_BUILTINS) <K> <S>)(