New settings for history.
This commit is contained in:
parent
3b9299a897
commit
e081264573
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user