From 8b92e68f4c902e399f799fa74dd60d3c3ccadd35 Mon Sep 17 00:00:00 2001 From: Brahmajit Das Date: Mon, 17 Jun 2024 23:08:01 +0530 Subject: zsh: history_search: avoid duplicate entries Signed-off-by: Brahmajit Das --- .config/zsh/history_search.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/zsh/history_search.zsh b/.config/zsh/history_search.zsh index 3ea7df9..8b82ec9 100644 --- a/.config/zsh/history_search.zsh +++ b/.config/zsh/history_search.zsh @@ -18,4 +18,4 @@ zle -N down-line-or-beginning-search [[ -n "${key[Down]}" ]] && bindkey -- "${key[Down]}" down-line-or-beginning-search ## Do not write duplicate events to history -# setopt HIST_SAVE_NO_DUPS +setopt HIST_SAVE_NO_DUPS -- cgit v1.2.3