aboutsummaryrefslogtreecommitdiff
path: root/base/zsh/history.zsh
diff options
context:
space:
mode:
authorAdam Hovorka <[email protected]>2017-09-04 13:42:23 -0600
committerAdam Hovorka <[email protected]>2017-09-04 13:42:23 -0600
commit8ae9c465242c5e379877a15832043113021d714e (patch)
treee7d1eabb895ee5dc954dc88ca3d6896b0c8ffadc /base/zsh/history.zsh
parent8916659e0e1cb67b860373f2d094445bb1f657aa (diff)
Switch from stowsh to dotbot
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
+