summaryrefslogtreecommitdiff
path: root/etc/.zshrc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-07-13 16:39:45 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-07-13 16:39:45 +0200
commit7b8e71cfb2006579a7204aaa5a58ff25bebb7d85 (patch)
treec54755092dac8b6269b9d43c7a06397a1bc330fa /etc/.zshrc
parent82e26f9cf4bbdb926c8cae269dc0044386ddd5b6 (diff)
Ignore immediate duplicates in shell history
Diffstat (limited to 'etc/.zshrc')
-rw-r--r--etc/.zshrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/.zshrc b/etc/.zshrc
index 1b22329..3d105d6 100644
--- a/etc/.zshrc
+++ b/etc/.zshrc
@@ -31,6 +31,8 @@ setopt extended_glob
unsetopt bang_hist
+setopt hist_ignore_dups
+
setopt correct
# greedy is more like dvorak than qwerty...