summaryrefslogtreecommitdiff
path: root/lib/history.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/history.zsh')
-rw-r--r--lib/history.zsh12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/history.zsh b/lib/history.zsh
new file mode 100644
index 000000000..527c32762
--- /dev/null
+++ b/lib/history.zsh
@@ -0,0 +1,12 @@
+## Command history configuration
+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