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. --- Src/zsh.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Src/zsh.h') diff --git a/Src/zsh.h b/Src/zsh.h index a46898d7d..a935d23ad 100644 --- a/Src/zsh.h +++ b/Src/zsh.h @@ -1894,6 +1894,7 @@ struct histent { #define HIST_DUP 0x00000008 /* Command duplicates a later line */ #define HIST_FOREIGN 0x00000010 /* Command came from another shell */ #define HIST_TMPSTORE 0x00000020 /* Kill when user enters another cmd */ +#define HIST_NOWRITE 0x00000040 /* Keep internally but don't write */ #define GETHIST_UPWARD (-1) #define GETHIST_DOWNWARD 1 -- cgit v1.2.3