aboutsummaryrefslogtreecommitdiff
path: root/base/.zsh/history.zsh
diff options
context:
space:
mode:
authorAdam Hovorka <[email protected]>2017-08-06 16:12:32 -0600
committerAdam Hovorka <[email protected]>2017-08-06 16:12:32 -0600
commitac5294ae7aaa8668f0a74e32c1786a25adbbb80f (patch)
tree9d967f65407684becb0d7a9f57b00bf9f55c7802 /base/.zsh/history.zsh
parent69d878b09a2c1aa8d3373a311cd5945e0a430045 (diff)
Add ZSH config based on changs/slim-zsh
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
+