From ff520d1b798faa26037291e373689b5957784cc8 Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Thu, 17 Oct 2013 07:28:52 -0700 Subject: 31823: add HISTORY_IGNORE parameter HISTORY_IGNORE defines a pattern to exclude matching lines in the internal history from the HISTFILE at write time. --- Doc/Zsh/params.yo | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Doc/Zsh/params.yo') diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo index 8c37c2de2..97087a1c5 100644 --- a/Doc/Zsh/params.yo +++ b/Doc/Zsh/params.yo @@ -967,6 +967,16 @@ item(tt(HISTFILE))( The file to save the history in when an interactive shell exits. If unset, the history is not saved. ) +vindex(HISTORY_IGNORE) +item(tt(HISTORY_IGNORE))( +If set, is treated as a pattern at the time history files are written. +Any potential history entry that matches the pattern is skipped. For +example, if the value is `tt(fc *)' then commands that invoke the +interactive history editor are never written to the history file (compare +the tt(HIST_NO_STORE) option or the tt(zshaddhistory) hook, either of +which would prevent such commands from being added to the interactive +history at all). +) vindex(HISTSIZE) item(tt(HISTSIZE) )( The maximum number of events stored in the internal history list. -- cgit 1.4.1