i have a console window running bash.exe (for gitbash) that sets the HISTFILE to a certain file.
If i click the x button at top right, to close the console window, nothing gets saved to HISTFILE.
but if i type "exit" to close the console window, the history is appended to HISTFILE.
does anyone have any remedies for this? other than NOT to close the window by clicking the "x" ??
history file is automatically saved only with logout or exit command
you can force the saving at each command with the prompt:
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.