summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorKjetil Ørbekk <kj@orbekk.com>2020-10-20 11:37:32 -0400
committerKjetil Ørbekk <kj@orbekk.com>2020-10-20 11:37:32 -0400
commit2bf9b199de7f3a357afb2b7b56e3fc144a86175d (patch)
tree37351b3ceca00717c9d8c2fb4e2803c1a517ab86 /zsh
parentf32cd7abc115f0443dbbecdd0c2c4f16755a134e (diff)
Add missing zsh history settings
Diffstat (limited to 'zsh')
-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