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 --- Doc/Zsh/options.yo | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Doc/Zsh/options.yo') 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