aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.zshrc7
1 files changed, 5 insertions, 2 deletions
diff --git a/.zshrc b/.zshrc
index 1de76ec..5c3d9b4 100644
--- a/.zshrc
+++ b/.zshrc
@@ -269,8 +269,11 @@ bindkey '[[A' run-help
# History file name and maximum size.
HISTFILE="$HOME/.zsh/history"
-SAVEHIST=15000
-HISTSIZE=15000
+SAVEHIST=9223372036854775807
+HISTSIZE=9223372036854775807
+setopt EXTENDED_HISTORY
+setopt INC_APPEND_HISTORY
+setopt HIST_FIND_NO_DUPS
# Push History from previous sessions. IF $HISTFILE exists.
if [ -f $HISTFILE ]; then