aboutsummaryrefslogtreecommitdiff
path: root/base/.zsh/history.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'base/.zsh/history.zsh')
-rw-r--r--base/.zsh/history.zsh15
1 files changed, 15 insertions, 0 deletions
diff --git a/base/.zsh/history.zsh b/base/.zsh/history.zsh
new file mode 100644
index 0000000..f21023d
--- /dev/null
+++ b/base/.zsh/history.zsh
@@ -0,0 +1,15 @@
+if [ -z $HISTFILE ]; then
+ HISTFILE=$HOME/.zsh_history
+fi
+HISTSIZE=100000
+SAVEHIST=100000
+HISTCONTROL=ignoredups
+
+setopt append_history
+setopt extended_history
+setopt hist_expire_dups_first
+setopt hist_ignore_dups # ignore duplication command history list
+setopt hist_ignore_space
+setopt hist_verify
+setopt inc_append_history
+