diff options
author | Barton E. Schaefer <schaefer@zsh.org> | 2013-10-17 07:28:52 -0700 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2013-10-17 07:28:52 -0700 |
commit | ff520d1b798faa26037291e373689b5957784cc8 (patch) | |
tree | 10d802ac64e5ea5adcc58612208ed7d0b21e9314 /Doc/Zsh/params.yo | |
parent | 73ececfd01bc137366d25940d90a34aaa2cdb02e (diff) | |
download | zsh-ff520d1b798faa26037291e373689b5957784cc8.tar.gz zsh-ff520d1b798faa26037291e373689b5957784cc8.tar.xz zsh-ff520d1b798faa26037291e373689b5957784cc8.zip |
31823: add HISTORY_IGNORE parameter
HISTORY_IGNORE defines a pattern to exclude matching lines in the internal history from the HISTFILE at write time.
Diffstat (limited to 'Doc/Zsh/params.yo')
-rw-r--r-- | Doc/Zsh/params.yo | 10 |
1 files changed, 10 insertions, 0 deletions
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) <S>)( The maximum number of events stored in the internal history list. |