summaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/.zshrc b/.zshrc
index 0c27918..8465ed0 100644
--- a/.zshrc
+++ b/.zshrc
@@ -70,8 +70,8 @@ setopt RC_EXPAND_PARAM
#setopt WARN_CREATE_GLOBAL
setopt GLOB_DOTS
-# remove previous entries from history
-setopt HIST_IGNORE_ALL_DUPS
+# Ignore a duplicate of the previous command
+setopt HIST_IGNORE_DUPS
# do not write lines starting with a space to history file
setopt HIST_IGNORE_SPACE
# Remove superfluous blanks