From 4d59e2ce45b9f6f6d11b44c0546e217dfa6b2373 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 11 Jun 2001 10:41:19 +0000 Subject: Document PATH_DIRS behaviour --- ChangeLog | 5 +++++ Doc/Zsh/options.yo | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f66ce6309..a22de8d47 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-06-11 Peter Stephenson + + * 14840: Doc/Zsh/options.yo: document search behaviour with + PATH_DIRS option. + 2001-06-10 Clint Adams * 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) )( -- cgit 1.4.1