summaryrefslogtreecommitdiff
path: root/zsh/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/.zshrc')
-rw-r--r--zsh/.zshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 8e7a73a..94c939e 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -12,6 +12,10 @@ zstyle ':completion:*' menu select
zstyle ':completion::complete:*' gain-privileges 1
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
+# History settings
+HISTFILE=~/.zsh_history
+HISTSIZE=1000000
+SAVEHIST=$HISTSIZE
setopt append_history share_history histignorealldups
# cd to a directory used as a commant