summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2017-05-01 18:31:07 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2017-05-04 19:37:13 +0000
commitaa8157b463c18489b378da322f46574bd9ab8dbb (patch)
treec73eeb8c005a41c580262b25dd12e273e2205bc3
parent21b195562a54005b4341a037d2c02078787b7f2a (diff)
downloadzsh-aa8157b463c18489b378da322f46574bd9ab8dbb.tar.gz
zsh-aa8157b463c18489b378da322f46574bd9ab8dbb.tar.xz
zsh-aa8157b463c18489b378da322f46574bd9ab8dbb.zip
41038: Document recent, backwards-compatible precommand modifiers changes.
-rw-r--r--ChangeLog5
-rw-r--r--NEWS11
2 files changed, 16 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 44ea38da2..cb270edb0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-05-04  Daniel Shahaf  <d.s@daniel.shahaf.name>
+
+	* 41038: NEWS: Document recent, backwards-compatible precommand
+	modifiers changes.
+
 2017-05-03  Peter Stephenson  <p.stephenson@samsung.com>
 
 	* 41043: Src/exec.c: Close pipes in shell if disowning
diff --git a/NEWS b/NEWS
index 547925164..568b1609a 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,17 @@ CHANGES FROM PREVIOUS VERSIONS OF ZSH
 
 Note also the list of incompatibilities in the README file.
 
+Changes from 5.3.1 to 5.4
+-------------------------
+
+The 'exec' and 'command' precommand modifiers, and options to them, are
+now parsed after parameter expansion.  Previously, both the modifier and
+any options to it were parsed between alias expansion and parameter
+expansion (see zshexpn(1)), so they could neither be quoted nor be the
+result of parameter expansion.  Examples: 's=command; $s -V ls' and
+'\command -V ls' now work as expected.
+
+
 Changes from 5.2 to 5.3.1
 -------------------------