Terminal history not saved
I have the latest version 2018.3.2 on Macbook Pro Mojave and MacPro Mojave.
I have the same problem on both computers. The history of the terminal is lost when the tab is closed. It was not like this in previous versions. How can I fix it? Is it a bug or a new configuration?
Please sign in to leave a comment.
It's a bug caused by implementing some new things.
Please try this one as a workaround: https://youtrack.jetbrains.com/issue/IDEA-204243#focus=streamItem-27-3241279-0-0
Finally after a lot of trial and error, I noticed that my .bash_history file was written only when I explicitly typed "exit" to close a terminal tab. Clicking on the "x" to close the tab for some reason does not really exit the terminal tab.
Hope this helps : )
Thanks Oswjos,
we don't get a chance to do this when the IDE crashes/restarts or device is restarted. Wish they could fix this and allow graceful exit with history saved on IDE exiting.