Bash history is not stored in cygwin

321 Views Asked by At

I'm using bash with cyginw and cmder. If I type logout to close a bash tab in cmder the history is written to the ~/.bash_history. If I close the cmder tab or window by any other mechanism, like hitting the X-Button or shuting down the laptop, the history gets lost.

Is there a solution to this? Maybe updateing ~/.bash_history continously or somehow hooking into the window/cmder close/suthdown proces?

0

There are 0 best solutions below