summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2017-09-12 23:22:34 +0200
committerAxel Beckert <abe@deuxchevaux.org>2017-09-12 23:22:34 +0200
commit4aaf06e6678dcead65d7226bd6bde3cffeb2cb2e (patch)
tree5c8e2ac2c9a85e2e6568aed7120372e6efa074ac /README
parentf33de64abf57611e59df72da230f3d0d6760c4c5 (diff)
parent6ff4787e830f8edb3a7e32490a88a131e4b62f7f (diff)
downloadzsh-4aaf06e6678dcead65d7226bd6bde3cffeb2cb2e.tar.gz
zsh-4aaf06e6678dcead65d7226bd6bde3cffeb2cb2e.zip
Merge tag 'zsh-5.4.2' into debian
Release 5.4.2
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
----------------------------------------