zsh: re-configure history
Alan Pearce alan@alanpearce.eu
Fri, 08 Jun 2018 15:02:19 +0200
1 files changed, 7 insertions(+), 2 deletions(-)
jump to
M zsh/.config/zsh/.zshrc → 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//[-.]}//[\/]}