about summary refs log tree commit diff
path: root/Doc/Zsh/options.yo
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-03-16 09:43:51 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-03-16 09:43:51 +0000
commit53745d8df0a6e00d2ddf1c08f7ea71820d587673 (patch)
tree8cbc8ea34d3c9d26dcc8428b2652ac8df3f2859d /Doc/Zsh/options.yo
parent1b68e0ea00deb508b394f1c0a4413205e621c293 (diff)
downloadzsh-53745d8df0a6e00d2ddf1c08f7ea71820d587673.tar.gz
zsh-53745d8df0a6e00d2ddf1c08f7ea71820d587673.tar.xz
zsh-53745d8df0a6e00d2ddf1c08f7ea71820d587673.zip
27793 and follow ups: add PATH_SCRIPT option to find script using $PATH
Diffstat (limited to 'Doc/Zsh/options.yo')
-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 e0934ff3d..003071aab 100644
--- a/Doc/Zsh/options.yo
+++ b/Doc/Zsh/options.yo
@@ -1138,6 +1138,20 @@ 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(PATH_SCRIPT)
+pindex(NO_PATH_SCRIPT)
+pindex(PATHSCRIPT)
+pindex(NOPATHSCRIPT)
+cindex(path search, for script argument to shell)
+item(tt(PATH_SCRIPT) <K> <S>)(
+If this option is not set, a script passed as the first non-option argument
+to the shell must contain the name of the file to open.  If this
+option is set, and the script does not specify a directory path,
+the script is looked for first in the current directory, then in the
+command path.  See
+ifnzman(noderef(Invocation))\
+ifzman(the section INVOCATION in zmanref(zshmisc)).
+)
 pindex(PRINT_EIGHT_BIT)
 pindex(NO_PRINT_EIGHT_BIT)
 pindex(PRINTEIGHTBIT)