Bash – How to preserve the history file of cygwin bash across independent sessions

bashcommand historycygwin;

So my home directory does have a .bash_history file, but it refuses to grow any bigger for some reason. I've already changed the .bashrc settings to set the history size to 99999 and the history file size limit to something similar.

Best Answer

Find this in .bashrc:

# Make bash append rather than overwrite the history on disk

# shopt -s histappend

and uncomment the second line!

Related Question