New settings for history.

This commit is contained in:
Bartek Stalewski 2021-05-11 14:24:48 +02:00
parent 3b9299a897
commit e081264573

View File

@ -2,11 +2,15 @@
bindkey -e
# global exports and options
setopt share_history
setopt inc_append_history
export HISTSIZE=10000
export SAVEHIST=$HISTSIZE
export HISTFILE=$XDG_DATA_HOME/zsh/history
setopt HIST_IGNORE_ALL_DUPS
setopt HIST_SAVE_NO_DUPS
setopt HIST_REDUCE_BLANKS
setopt INC_APPEND_HISTORY_TIME
setopt EXTENDED_HISTORY
export LESSHISTFILE='/dev/null'
mkdir -p $XDG_DATA_HOME/zsh