summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <adam.moloney.stuck@gmail.com>2021-12-05 00:43:00 +0100
committerAdam <adam.moloney.stuck@gmail.com>2021-12-05 00:48:01 +0100
commit219a5c89788a1905332d9c6eb8d651314f9dbee7 (patch)
tree58b6df00edcfc4a66da3f95a7a219c4f687abdb1
parentfcd7532cd087c1ff0c8a2a73cfc878700464094e (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 4d29724..e2d69ab 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}'