From 9bd98ace45dde3251a672cbcbd78429f2cb90542 Mon Sep 17 00:00:00 2001 From: Dzianis Dashkevich Date: Sat, 11 Nov 2023 18:19:09 +0300 Subject: [PATCH] Set zsh history `SAVEHIST` & `HISTSIZE` to 1M --- exports | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/exports b/exports index 2d9eeab..f8ff033 100644 --- a/exports +++ b/exports @@ -1,5 +1,10 @@ #!/usr/bin/env bash +# https://www.soberkoder.com/better-zsh-history/ +# This sets the number of commands to store in HISTFILE +export SAVEHIST=1000000 +# This sets the number of commands to load into memory from HISTFILE +export HISTSIZE=1000000 export RI="--format ansi" export HOMEBREW_NO_ANALYTICS=1 export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES