From: Sergey Matveev Date: Mon, 29 Nov 2021 13:10:00 +0000 (+0300) Subject: Arrayed HISTORY_IGNORE X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=e8636d3d21b2a16c17bd39bd0843351644e0b19e;p=dotfiles.git Arrayed HISTORY_IGNORE --- diff --git a/zsh/.zsh/rc/005history-cfg.zsh b/zsh/.zsh/rc/005history-cfg.zsh index 8ecf82b..a07ac8a 100644 --- a/zsh/.zsh/rc/005history-cfg.zsh +++ b/zsh/.zsh/rc/005history-cfg.zsh @@ -1,3 +1,4 @@ setopt APPEND_HISTORY SHARE_HISTORY INC_APPEND_HISTORY HIST_IGNORE_ALL_DUPS setopt HIST_IGNORE_SPACE -HISTORY_IGNORE="(yt* *|t *|t|sdcv *|mmfileget *|arr)" +local history_ignore=("yt* *" "t *" t "sdcv *" "mmfileget *" arr) +HISTORY_IGNORE="(${(j:|:)history_ignore})"