From dcc3582255f60f00ac88fbabb5ebd6a215806cca Mon Sep 17 00:00:00 2001 From: eeemsi Date: Thu, 20 Jul 2023 20:10:58 +0200 Subject: [PATCH] fix (zshrc): the default sizes do not match my level of comfort for shell history --- zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zshrc b/zshrc index f7470b9..9ada11a 100644 --- a/zshrc +++ b/zshrc @@ -11,6 +11,7 @@ export LESSHISTFILE=/dev/null # Disable features like shell or pipe commands and more in less export LESSSECURE=1 + # completion system autoload -U compinit; compinit @@ -32,6 +33,10 @@ zstyle ':vcs_info:*' formats '%b' # Disable beeping on errors unsetopt BEEP +# Define size for HISTSIZE and SAVEHIST also define path for HISTFILE +HISTSIZE=8192 +SAVEHIST=8192 + # Make cd push the old directory onto the directory stack setopt AUTO_PUSHD