Try not to limit BASH's history retention.
This commit is contained in:
parent
e6b3b93d42
commit
6bde68854b
8
.bashrc
8
.bashrc
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue