diff options
author | Peter Stephenson <pws@zsh.org> | 2013-10-17 10:14:25 +0100 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2013-10-17 10:14:25 +0100 |
commit | 73ececfd01bc137366d25940d90a34aaa2cdb02e (patch) | |
tree | db9a9969a06a81fe1efafa38829e6e1a44f5eddc /README | |
parent | a8f736b4cf8d186af4aea6f48ae7a5335d9ad8bb (diff) | |
download | zsh-73ececfd01bc137366d25940d90a34aaa2cdb02e.tar.gz zsh-73ececfd01bc137366d25940d90a34aaa2cdb02e.tar.xz zsh-73ececfd01bc137366d25940d90a34aaa2cdb02e.zip |
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.
Diffstat (limited to 'README')
-rw-r--r-- | README | 11 |
1 files changed, 11 insertions, 0 deletions
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 ----------------------------------------- |