summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2021-12-05 00:43:00 +0100
committerAdam <56338480+adastx@users.noreply.github.com>2021-12-05 00:43:00 +0100
commit67d58281257aba7011b80e3b885cda77c96a713e (patch)
tree63bfdb9227c7f2df58d9489384b63fba79207679
parentd8fd179baeff48320e3888087f3b23032a6c162e (diff)
Zsh history ignore duplicates
-rw-r--r--.config/zsh/.zshrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
index 70e4597..c9fe57c 100644
--- a/.config/zsh/.zshrc
+++ b/.config/zsh/.zshrc
@@ -1,6 +1,7 @@
HISTFILE=$ZDOTDIR/history
HISTSIZE=1000
SAVEHIST=5000
+setopt hist_ignore_all_dups
unsetopt beep
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}'