diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2001-06-11 10:41:19 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2001-06-11 10:41:19 +0000 |
commit | 4d59e2ce45b9f6f6d11b44c0546e217dfa6b2373 (patch) | |
tree | f065ed68c6835f53a2e9d41e55e7471767247a49 | |
parent | 8b362442e008bd8ce5fd6e0d2c3a0c8874e0685c (diff) | |
download | zsh-4d59e2ce45b9f6f6d11b44c0546e217dfa6b2373.tar.gz zsh-4d59e2ce45b9f6f6d11b44c0546e217dfa6b2373.tar.xz zsh-4d59e2ce45b9f6f6d11b44c0546e217dfa6b2373.zip |
Document PATH_DIRS behaviour
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Doc/Zsh/options.yo | 7 |
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>)( |