From f6b315d4bd367cc9153a560e22969e608947a76d Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 16 Jun 2015 16:42:50 +1200 Subject: Keep a bit more history in memory Amounts to less than 172kb on my system, not really worth worrying about it, and get a few days' history at least this way --- bash/bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bash/bashrc') diff --git a/bash/bashrc b/bash/bashrc index c7a5d730..c96ed7b2 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -19,8 +19,8 @@ fi # Keep around a million lines of history in file HISTFILESIZE=$((2 ** 20)) -# Keep around a thousand lines of history in memory -HISTSIZE=$((2 ** 10)) +# Keep around four thousand lines of history in memory +HISTSIZE=$((2 ** 12)) # Ignore duplicate commands and whitespace in history HISTCONTROL=ignoreboth -- cgit v1.2.3