From 1c1ec5078423f55abcde3f2608cfe47716508251 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Sun, 6 Nov 2022 11:45:35 +0300 Subject: [PATCH] Ignore link-for-* commands --- zsh/.zsh/rc/005history-cfg.zsh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/zsh/.zsh/rc/005history-cfg.zsh b/zsh/.zsh/rc/005history-cfg.zsh index a07ac8a..8af96a6 100644 --- a/zsh/.zsh/rc/005history-cfg.zsh +++ b/zsh/.zsh/rc/005history-cfg.zsh @@ -1,4 +1,12 @@ setopt APPEND_HISTORY SHARE_HISTORY INC_APPEND_HISTORY HIST_IGNORE_ALL_DUPS setopt HIST_IGNORE_SPACE -local history_ignore=("yt* *" "t *" t "sdcv *" "mmfileget *" arr) +local history_ignore=( + "link-for-*" + "mmfileget *" + "sdcv *" + "t *" + "yt* *" + arr + t +) HISTORY_IGNORE="(${(j:|:)history_ignore})" -- 2.44.0