diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-05-21 20:53:45 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-05-21 20:53:45 +0200 |
commit | 23625f654a9faa244d90e50f218e835f92e4f736 (patch) | |
tree | 2b6dc43c53abee5a775a10faa45e884dd1291d28 | |
parent | cf5ac326bf63c3802ccc66f2bde69b29c8f3c8b5 (diff) |
Add some history config
-rw-r--r-- | .config/zsh/.zshrc | 8 |
1 files changed, 7 insertions, 1 deletions
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 - |