about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-03-16 22:44:08 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-03-16 22:44:08 +0000
commitdb40de0af33e1b370009fb5e239c01c748a94ca7 (patch)
tree045b7717db9e55b507d344e34aeb8cc220f3f45a
parent53745d8df0a6e00d2ddf1c08f7ea71820d587673 (diff)
downloadzsh-db40de0af33e1b370009fb5e239c01c748a94ca7.tar.gz
zsh-db40de0af33e1b370009fb5e239c01c748a94ca7.tar.xz
zsh-db40de0af33e1b370009fb5e239c01c748a94ca7.zip
NEWS: PATH_SCRIPT
-rw-r--r--ChangeLog6
-rw-r--r--NEWS8
2 files changed, 12 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index f8ecd456d..f8162f0a4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-03-16  Peter Stephenson  <p.w.stephenson@ntlworld.com>
+
+	* unposted: NEWS: PATH_SCRIPT
+
 2010-03-16  Peter Stephenson  <pws@csr.com>
 
 	* 27793 plus 27794, 27795: Doc/Zsh/invoke.yo, Doc/Zsh/options.yo,
@@ -12909,5 +12913,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4932 $
+* $Revision: 1.4933 $
 *****************************************************
diff --git a/NEWS b/NEWS
index a2f86722c..8fd465780 100644
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,11 @@ Note also the list of incompatibilities in the README file.
 Changes between versions 4.3.10 and 4.3.11
 ------------------------------------------
 
+When the shell is invoked with the base name of a script, for example as
+`zsh scriptname', previous versions of zsh have used the name directly,
+whereas other shells use the value of $PATH to find the script.  The
+option PATH_SCRIPT has been added to provide the alternative behaviour.
+
 The glob qualifier P can be used to add a separate word before each
 match.  For example, *(P:-f:) produces the command line
 `-f file1 -f file2 ...'.
@@ -14,7 +19,8 @@ match.  For example, *(P:-f:) produces the command line
 The module zsh/system has a new "zsystem" builtin whose subcommands
 perform system level tasks.  Currently "zsystem flock" performs
 advisory file locking.  This is a particularly convenient way
-of locking files for the length of a subshell.
+of locking files for the length of a subshell.  "zsystem supports flock"
+provides a test for this feature.
 
 Changes between versions 4.3.9 and 4.3.10
 -----------------------------------------