On my Debian VM I'm setting the $HISTSIZE
and $HISTFILESIZE
(and other history related environment variables) on system start / profile load:
~/.profile
export HISTSIZE=100000
export HISTFILESIZE=100000
I can access these vars in msys:
user@machine /usr
$ echo $HISTFILE
/c/Users/user/.bash_history
user@machine /usr
$ echo $HISTSIZE
500
user@machine /usr
$ echo $HISTFILESIZE
500
How can I set them permanently?
Thx