diff options
author | Alan Pearce | 2018-06-08 15:02:19 +0200 |
---|---|---|
committer | Alan Pearce | 2018-06-08 15:02:19 +0200 |
commit | 25a8283fdf77fec948c7c71efc583d62ddbe0c18 (patch) | |
tree | 512d6dfa1d0624ff82bb1688f0c0b72410dda6f2 | |
parent | c7087bdc890c26ad878dd70e0d779c596a606a75 (diff) | |
download | nixfiles-25a8283fdf77fec948c7c71efc583d62ddbe0c18.tar.lz nixfiles-25a8283fdf77fec948c7c71efc583d62ddbe0c18.tar.zst nixfiles-25a8283fdf77fec948c7c71efc583d62ddbe0c18.zip |
zsh: re-configure history
-rw-r--r-- | zsh/.config/zsh/.zshrc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index a26ff233..ac2a0345 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -1,9 +1,14 @@ # -*- mode: sh; -*- source $HOME/.zplugin/bin/zplugin.zsh -HISTSIZE=3000 -SAVEHIST=10000 +HISTSIZE=10000 +SAVEHIST=20000 HISTFILE=${XDG_CACHE_HOME:=$HOME/.cache}/zsh/history +setopt extended_history +setopt hist_save_no_dups +setopt hist_ignore_space +unsetopt share_history +setopt inc_append_history_time WORDCHARS=${${WORDCHARS//[-.]}//[\/]} |