From ab2d279804a8a6b5e6862012c13bd22b64076431 Mon Sep 17 00:00:00 2001 From: James Dixon Date: Sun, 14 Aug 2022 03:44:12 -0400 Subject: [PATCH] fix zsh history not saving --- config/zsh/.zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/zsh/.zshrc b/config/zsh/.zshrc index 4683eda..b1c9cb9 100644 --- a/config/zsh/.zshrc +++ b/config/zsh/.zshrc @@ -25,6 +25,11 @@ setopt extended_history setopt inc_append_history setopt share_history setopt histsavenodups +setopt hist_ignore_all_dups + +export HISTFILE=~/.zsh_history +export HISTSIZE=999999999 +export SAVEHIST=$HISTSIZE # Less Annoying setopt interactive_comments unsetopt correct_all