Set HISTSIZE in bash to unlimited

This commit is contained in:
2022-07-09 19:53:29 +08:00
parent 58b917efb1
commit 6f4eb81245

View File

@@ -16,8 +16,8 @@ HISTCONTROL=ignoreboth
shopt -s histappend shopt -s histappend
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1) # for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000 HISTSIZE=-1
HISTFILESIZE=2000 HISTFILESIZE=-1
# check the window size after each command and, if necessary, # check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS. # update the values of LINES and COLUMNS.