history regression

This commit is contained in:
2026-01-29 21:35:01 +01:00
parent 23f8866dff
commit e9102fa097

5
.zshrc
View File

@@ -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