From b8dc5a7f6d52df98a546ad3b39104f4b8e7b8daf Mon Sep 17 00:00:00 2001
From: Peter Stephenson
Date: Thu, 20 Jun 2019 11:13:05 +0100
Subject: 44435: Handling digita arguments for :h and :t.
Pick number of leading or trailing path components to substitute.
Active in history, brace parameters, glob qualifiers.
Add tests for all three environments.
---
README | 21 ++++++++++++++++++++-
1 file changed, 20 insertions(+), 1 deletion(-)
(limited to 'README')
diff --git a/README b/README
index 9763e7aa6..be7929164 100644
--- a/README
+++ b/README
@@ -30,9 +30,28 @@ Zsh is a shell with lots of features. For a list of some of these, see the
file FEATURES, and for the latest changes see NEWS. For more
details, see the documentation.
-Incompatibilities since 5.6.2
+Incompatibilities since 5.7.1
-----------------------------
+The history expansion !:1:t2 used to be interpreted such that the 2
+was a separate character added after the history expansion. Now
+it is an argument to the :t modifier.
+
+For example
+
+% echo /my/interesting/path
+% echo !:1:t2
+
+used to echo "path2", but now echoes "interesting/path".
+
+The behaviour of :h has similarly changed.
+
+The behaviour has also changed in forms such as ${foo:t2) and *(:t2),
+but in those cases the previous behaviour was not meaningful.
+
+Incompatibilities between 5.6.2 and 5.7.1
+-----------------------------------------
+
1) vcs_info git: The gen-unapplied-string hook receives the patches in
order (next to be applied first). This is consistent with the hg
backend and with one of two contradictory claims in the documentation
--
cgit 1.4.1