From 6a3b21a9a12bc559b20969acea28cbb6043d57ae Mon Sep 17 00:00:00 2001 From: Mike Beattie Date: Thu, 5 Dec 2019 08:49:00 +1300 Subject: ZSH: Increase history retention Signed-off-by: Mike Beattie --- .zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.zshrc b/.zshrc index a6e0697..d24fd07 100644 --- a/.zshrc +++ b/.zshrc @@ -111,6 +111,9 @@ limit core 0 # no core dumps umask 022 # default umask #cdpath=(.. ~) # make cd search other directories +# Keep more than 1000 history items +HISTSIZE=999999 +SAVEHIST=$HISTSIZE # Make alt key function as meta key. #[[ $TERM = "xterm" ]] && stty pass8 && bindkey -me -- cgit v1.2.3