From 6f4eb81245a911f54f425c8fead468e42331b1e2 Mon Sep 17 00:00:00 2001 From: madumlao Date: Sat, 9 Jul 2022 19:53:29 +0800 Subject: [PATCH] Set HISTSIZE in bash to unlimited --- skel/.bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skel/.bashrc b/skel/.bashrc index bf1c4b4..c1c7c87 100644 --- a/skel/.bashrc +++ b/skel/.bashrc @@ -16,8 +16,8 @@ HISTCONTROL=ignoreboth shopt -s histappend # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) -HISTSIZE=1000 -HISTFILESIZE=2000 +HISTSIZE=-1 +HISTFILESIZE=-1 # check the window size after each command and, if necessary, # update the values of LINES and COLUMNS.