summaryrefslogtreecommitdiff
path: root/dot_zshrc.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'dot_zshrc.tmpl')
-rw-r--r--dot_zshrc.tmpl10
1 files changed, 10 insertions, 0 deletions
diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl
index 368dd9c..3ebe594 100644
--- a/dot_zshrc.tmpl
+++ b/dot_zshrc.tmpl
@@ -25,6 +25,16 @@ zmodload zsh/complist
compinit
_comp_options+=(globdots) # Include hidden files.
+# History options
+export HISTFILE=$HOME/.zsh_history
+export HISTFILESIZE=1000000000
+export HISTSIZE=1000000000
+setopt INC_APPEND_HISTORY
+export HISTTIMEFORMAT="[%F %T] "
+setopt EXTENDED_HISTORY
+setopt HIST_FIND_NO_DUPS
+setopt HIST_IGNORE_ALL_DUPS
+
# vi mode
bindkey -v
export KEYTIMEOUT=1