summaryrefslogtreecommitdiff
path: root/history.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'history.zsh')
-rw-r--r--history.zsh17
1 files changed, 7 insertions, 10 deletions
diff --git a/history.zsh b/history.zsh
index a093aa27c..356b6498b 100644
--- a/history.zsh
+++ b/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
-HISTSIZE=2500
-SAVEHIST=2500
+HISTFILE=$HOME/.zsh_history
+HISTSIZE=5000
+SAVEHIST=5000
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