about summary refs log tree commit diff
path: root/README
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2007-05-08 10:02:58 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2007-05-08 10:02:58 +0000
commit8ce657c2cbbd194532be36343fd7f1882513541e (patch)
tree6f40e8283b1bb6bf202bec586fcf3c21e09c3cba /README
parente4cdad9700342b4dbc1837307580134eee274f33 (diff)
downloadzsh-8ce657c2cbbd194532be36343fd7f1882513541e.tar.gz
zsh-8ce657c2cbbd194532be36343fd7f1882513541e.tar.xz
zsh-8ce657c2cbbd194532be36343fd7f1882513541e.zip
Phil Pennock + tweaks: 23398 + more tweaks: exec compatibility options
Diffstat (limited to 'README')
-rw-r--r--README8
1 files changed, 8 insertions, 0 deletions
diff --git a/README b/README
index e01bc81ec..94ba2236c 100644
--- a/README
+++ b/README
@@ -40,6 +40,14 @@ behaviour.)  Now it is treated identically to "$@".  The same change
 applies to expressions with forced splitting such as ${=1+"$@"}, but
 otherwise the case where SH_WORD_SPLIT is not set is unaffected.
 
+The "exec" precommand modifier now takes various options for compatibility
+with other shells.  This means that whereas "exec -prog" previously
+tried to execute a command name "-prog", it will now report an error
+in option handling.  "exec -- -prog" will execute "-prog".  If
+the option EQUALS is set, as it is by default in zsh's native mode,
+"exec =-prog" behaves the same way in all versions of zsh provided
+the command can be found.
+
 The "unset" builtin now does not regard the unsetting of non-existent
 variables as an error, so can still return status 0 (depending on the
 handling of other arguments).  This appears to be the standard shell