diff options
author | Yann Herklotz <git@yannherklotz.com> | 2019-05-20 16:59:15 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2019-05-20 16:59:15 +0100 |
commit | 773484e1761fe65c27832aa595468399cc9baa59 (patch) | |
tree | ef41d3957a68a8887c21e15fc4bae2f2207633f0 /zsh/.zshrc | |
parent | a1068a3a27c09a87ad9da133ecdbeaf7e675fc21 (diff) | |
download | dotfiles-773484e1761fe65c27832aa595468399cc9baa59.tar.gz dotfiles-773484e1761fe65c27832aa595468399cc9baa59.zip |
Add unique history to zsh
Diffstat (limited to 'zsh/.zshrc')
-rw-r--r-- | zsh/.zshrc | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |