summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2013-12-15 00:51:18 -0500
committerJune McEnroe <june@causal.agency>2013-12-15 00:51:18 -0500
commit7cbe7ad13fb89ee20fe83cc347ac9c28a3147a9a (patch)
treefa358c22edb3343d153cf95f73dafdbdc57d91ee
parentSource zsh_command_not_found (diff)
downloadsrc-7cbe7ad13fb89ee20fe83cc347ac9c28a3147a9a.tar.gz
src-7cbe7ad13fb89ee20fe83cc347ac9c28a3147a9a.zip
Don't add duplicates to zsh history
-rw-r--r--.zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc
index ddf1dd16..ea43a010 100644
--- a/.zshrc
+++ b/.zshrc
@@ -2,7 +2,7 @@ HISTFILE=~/.histfile
 HISTSIZE=5000
 SAVEHIST=5000
 setopt appendhistory autocd extendedglob nomatch notify autopushd
-setopt interactive_comments prompt_subst
+setopt interactive_comments prompt_subst hist_ignore_dups
 unsetopt beep
 bindkey -v