setopt APPEND_HISTORY SHARE_HISTORY INC_APPEND_HISTORY HIST_IGNORE_ALL_DUPS
setopt HIST_IGNORE_SPACE
local history_ignore=(
+ "dl-magnet *"
"link-for-*"
"sdcv *"
"t *"
+ "unsafe-www *"
"yt* *"
arr
t
- "unsafe-www *"
)
HISTORY_IGNORE="(${(j:|:)history_ignore})"