From e2a4d9c11d112d21fe7a433cc42a08995ddc6a91 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 13 Oct 2014 17:44:44 +1300 Subject: Remembered that VERSINFO[2] is broken on 2.05a Thinks it's octal :( --- bash/bashrc | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'bash/bashrc') diff --git a/bash/bashrc b/bash/bashrc index baba0090..4b37f7cb 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -8,14 +8,8 @@ if [[ $- != *i* ]] ; then return fi -# If Bash >= 4.3, keep all history in file forever -if ((BASH_VERSINFO[0] >= 4 && BASH_VERSINFO[1] >= 3)) ; then - HISTFILESIZE=-1 - -# Otherwise, just keep a lot (a million lines) -else - HISTFILESIZE=$((2 ** 20)) -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)) -- cgit v1.2.3