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=(
+ "link-for-*"
+ "mmfileget *"
+ "sdcv *"
+ "t *"
+ "yt* *"
+ arr
+ t
+)
+HISTORY_IGNORE="(${(j:|:)history_ignore})"