aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimbeer <himbeer@disroot.org>2024-08-31 13:48:54 +0200
committerHimbeer <himbeer@disroot.org>2024-08-31 13:48:54 +0200
commitd9d969ddf1cd44da4f8616c98dfd3e7e43e9fc42 (patch)
tree4502279b6d581d99a56b86c148dc74e4f494e20c
parent6d0040472ca06361a03a7f6da687bb9d03e1e5f9 (diff)
Configure ZSH to ignore duplicate commands in its history
-rw-r--r--zshrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/zshrc b/zshrc
index 63f4be1..d0cd8b1 100644
--- a/zshrc
+++ b/zshrc
@@ -40,6 +40,7 @@ promptinit
setopt autocd
setopt appendhistory
setopt share_history
+setopt hist_ignore_all_dups
eval $(dircolors -b)