We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0ede24 commit 658a1a4Copy full SHA for 658a1a4
.bashrc
@@ -17,8 +17,10 @@ HISTCONTROL=ignoreboth
17
shopt -s histappend
18
19
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
20
-HISTSIZE=20000
21
-HISTFILESIZE=20000
+HISTSIZE=-1
+HISTFILESIZE=-1
22
+# see https://superuser.com/questions/575479/bash-history-truncated-to-500-lines-on-each-login
23
+HISTFILE=~/.bash_history2
24
25
# check the window size after each command and, if necessary,
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
88
-export PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND"
89
+export PROMPT_COMMAND="history -a; $PROMPT_COMMAND"
90
export LC_ALL=en_US.UTF-8
91
set -o vi
92
bind '"jj":"\e"'
0 commit comments