summaryrefslogtreecommitdiff
path: root/.config/zsh/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.config/zsh/.zshrc')
-rw-r--r--.config/zsh/.zshrc8
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
-