aboutsummaryrefslogtreecommitdiffstats
path: root/zsh/.zshrc
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2019-05-20 16:59:15 +0100
committerYann Herklotz <git@yannherklotz.com>2019-05-20 16:59:15 +0100
commit773484e1761fe65c27832aa595468399cc9baa59 (patch)
treeef41d3957a68a8887c21e15fc4bae2f2207633f0 /zsh/.zshrc
parenta1068a3a27c09a87ad9da133ecdbeaf7e675fc21 (diff)
downloaddotfiles-773484e1761fe65c27832aa595468399cc9baa59.tar.gz
dotfiles-773484e1761fe65c27832aa595468399cc9baa59.zip
Add unique history to zsh
Diffstat (limited to 'zsh/.zshrc')
-rw-r--r--zsh/.zshrc7
1 files changed, 6 insertions, 1 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index bd9cbb1..5086bbe 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -2,7 +2,6 @@
HISTFILE=~/.histfile
HISTSIZE=100000
SAVEHIST=1000000
-setopt appendhistory notify
bindkey -e
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
@@ -18,6 +17,12 @@ autoload -Uz compinit
compinit
# End of lines added by compinstall
+setopt APPEND_HISTORY
+setopt HIST_EXPIRE_DUPS_FIRST
+setopt HIST_IGNORE_DUPS
+setopt HIST_IGNORE_SPACE
+setopt HIST_FIND_NO_DUPS
+
(cat ~/.cache/wal/sequences &)
# Sourcing everything