From 73ececfd01bc137366d25940d90a34aaa2cdb02e Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 17 Oct 2013 10:14:25 +0100 Subject: 31830: New feature for zshaddhistory hooks. If the first non-zero return status is 2, save the line on the internal history list, but don't write it out. --- README | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'README') diff --git a/README b/README index 2a22f42df..8ddad6e4e 100644 --- a/README +++ b/README @@ -28,6 +28,17 @@ 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 between 5.0.2 and 5.0.3 +----------------------------------------- + +The "zshaddhistory" hook mechanism documented in the zshmisc manual page +has been upgraded so that a hook returning status 2 causes a history +line to be saved on the internal history list but not written to the +history file. Previously any non-zero status return would cause +the line not to be saved on the history at all. It is recommended +to use status 1 for this (indeed most shell users would naturally do +so). + Incompatibilities between 5.0.0 and 5.0.2 ----------------------------------------- -- cgit 1.4.1