aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2021-10-30 20:32:35 -0400
committerRyan Kavanagh <rak@rak.ac>2021-10-30 20:32:35 -0400
commite7d4c902d936fa94c965e3b635bb1ea6f76cfb6b (patch)
tree33561e4fd2a765698ea4a06317c91222bd0af742
parentgitlab.cs.m.c ssh cert (diff)
allow for infinite zsh history and append automatically and don't find dups in history
Diffstat (limited to '')
-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