From e9102fa097ef724f34e0debd22261a12a3fb12c4 Mon Sep 17 00:00:00 2001 From: Andrey Date: Thu, 29 Jan 2026 21:35:01 +0100 Subject: [PATCH] history regression --- .zshrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.zshrc b/.zshrc index 51b7eb5..fba3ce1 100644 --- a/.zshrc +++ b/.zshrc @@ -7,8 +7,8 @@ export HISTSIZE=100000 export SAVEHIST=100000 # History behavior -setopt INC_APPEND_HISTORY SHARE_HISTORY -setopt HIST_IGNORE_ALL_DUPS HIST_REDUCE_BLANKS +setopt EXTENDED_HISTORY INC_APPEND_HISTORY SHARE_HISTORY +setopt HIST_IGNORE_ALL_DUPS setopt HIST_VERIFY # General quality-of-life @@ -77,6 +77,7 @@ bindkey '^[^?' backward-kill-word # Alt+Backspace bindkey '^Q' push-line # Ctrl+Q (stash line, type another, comes back) autoload -Uz edit-command-line && zle -N edit-command-line bindkey '^X^E' edit-command-line # Ctrl+X,E → edit in $EDITOR +bindkey '^[e' edit-command-line # Alt+E → edit in $EDITOR # search from prefix zinit light zsh-users/zsh-history-substring-search