diff options
Diffstat (limited to 'lib/history.zsh')
-rw-r--r-- | lib/history.zsh | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/lib/history.zsh b/lib/history.zsh index f7b63b7cd..527c32762 100644 --- a/lib/history.zsh +++ b/lib/history.zsh @@ -1,15 +1,12 @@ -# History stuff. -setopt HIST_VERIFY -setopt INC_APPEND_HISTORY -setopt SHARE_HISTORY -setopt EXTENDED_HISTORY -setopt HIST_IGNORE_DUPS - ## Command history configuration -# -HISTFILE=$ZSH/log/.zsh_history +HISTFILE=$HOME/.zsh_history HISTSIZE=10000 SAVEHIST=10000 + setopt hist_ignore_dups # ignore duplication command history list setopt share_history # share command history data +setopt hist_verify +setopt inc_append_history +setopt extended_history +setopt hist_expire_dups_first |