From 23625f654a9faa244d90e50f218e835f92e4f736 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Tue, 21 May 2024 20:53:45 +0200 Subject: Add some history config --- .config/zsh/.zshrc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to '.config/zsh') diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 9dd2d7e..df0b650 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -41,6 +41,13 @@ zsh_add_plugin "zsh-users/zsh-syntax-highlighting" HISTSIZE=100000 SAVEHIST=100000 HISTFILE=~/.cache/zsh/history +HISTDUP=erase +setopt inc_append_history +setopt sharehistory +setopt hist_ignore_space +setopt hist_save_no_dups +setopt hist_ignore_dups +setopt hist_find_no_dups export CLICOLOR=1 @@ -81,4 +88,3 @@ bindkey '^e' edit-command-line # Source language managers source $ZDOTDIR/managers - -- cgit v1.2.3-70-g09d2