File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,10 @@ HISTCONTROL=ignoreboth
17
17
shopt -s histappend
18
18
19
19
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
20
- HISTSIZE=20000
21
- HISTFILESIZE=20000
20
+ HISTSIZE=-1
21
+ HISTFILESIZE=-1
22
+ # see https://superuser.com/questions/575479/bash-history-truncated-to-500-lines-on-each-login
23
+ HISTFILE=~ /.bash_history2
22
24
23
25
# check the window size after each command and, if necessary,
24
26
# update the values of LINES and COLUMNS.
@@ -84,7 +86,7 @@ if [ -e "$HOME"/.go/bin/go ]; then
84
86
export PATH=$PATH :$HOME /go/bin
85
87
fi
86
88
fi
87
- export PROMPT_COMMAND=" history -a; history -c; history -r; $PROMPT_COMMAND "
89
+ export PROMPT_COMMAND=" history -a; $PROMPT_COMMAND "
88
90
export LC_ALL=en_US.UTF-8
89
91
set -o vi
90
92
bind ' "jj":"\e"'
You can’t perform that action at this time.
0 commit comments