summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README23
1 files changed, 18 insertions, 5 deletions
diff --git a/README b/README
index 7f81b1ed9..e22cfc12e 100644
--- a/README
+++ b/README
@@ -5,11 +5,11 @@ THE Z SHELL (ZSH)
Version
-------
-This is version 5.4,1 of the shell. This is a stable release. There
-are a few visible improvements since 5.3.1, the last widely released
-version, as well as many bugfixes. Note in particular the changs
-highlighted under "Incompatibilites since 5.3.1" below. See NEWS for
-more information.
+This is version 5.4.2 of the shell. This is a stable release. There
+are some significant bug fixes over 5.4.1 and a few visible improvements
+since 5.3.1, the previous widely released version, as well as many
+bug fixes. Note in particular the changs highlighted under
+"Incompatibilites since 5.3.1" below. See NEWS for more information.
Installing Zsh
--------------
@@ -81,6 +81,19 @@ against user defined widgets inadvertently reading from the tty device,
and addresses the antisocial behaviour of running a command with its
stdin closed.
+5) [New between 5.4.1 and 5.4.2] In previous versions of the shell, the
+following code:
+
+ () { setopt err_return; false; echo 'oh no' } && true
+
+printed "oh no", as the ERR_RETURN behaviour was suppressed when
+a function was executed on the left hand side of an "&&" list. This was
+undocumented and inconvenient as it is generally more useful to consider
+execution within a function in isolation from its environment. The shell
+now returns from the function on executing `false'. (This is general
+to all functions; an anonymous function is shown here for compactness.)
+
+
Incompatibilities between 5.0.8 and 5.3
----------------------------------------