Try not to limit BASH's history retention.

This commit is contained in:
Scott Wallace 2017-05-19 08:28:04 +01:00
parent e6b3b93d42
commit 6bde68854b

View file

@ -104,12 +104,12 @@ export PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
#-------------------------------------------------------------------------------- #--------------------------------------------------------------------------------
# Record history for longer and more dynamically # Record history for longer and more dynamically
#-------------------------------------------------------------------------------- #--------------------------------------------------------------------------------
# Large history buffer # Unlimited history buffer
export HISTSIZE=9999 export HISTSIZE=
export HISTFILESIZE=9999 export HISTFILESIZE=
# Avoid duplicates in the history... # Avoid duplicates in the history...
export HISTCONTROL=ignoredups:erasedups export HISTCONTROL=ignoreboth
# Append history entries... # Append history entries...
shopt -s histappend shopt -s histappend