From 6bde68854bd39060a5b5b25daf2695cb2ba94e28 Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Fri, 19 May 2017 08:28:04 +0100 Subject: [PATCH] Try not to limit BASH's history retention. --- .bashrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.bashrc b/.bashrc index 145e705..5ded825 100755 --- a/.bashrc +++ b/.bashrc @@ -104,12 +104,12 @@ export PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"' #-------------------------------------------------------------------------------- # Record history for longer and more dynamically #-------------------------------------------------------------------------------- -# Large history buffer -export HISTSIZE=9999 -export HISTFILESIZE=9999 +# Unlimited history buffer +export HISTSIZE= +export HISTFILESIZE= # Avoid duplicates in the history... -export HISTCONTROL=ignoredups:erasedups +export HISTCONTROL=ignoreboth # Append history entries... shopt -s histappend