Save Your Bash History Across Tabs And Sessions

Posted by Weston Ganger on February 03, 2016

This always annoyed me, why wasn’t the latest history in the new tab

Apparently you just set the prompt command in your .bashrc

export PROMPT_COMMAND='history -a'

Related External Links:

Posted in Linux and Tagged with bash linux 

Need help on your next project or application?

I specialize in Ruby-on-Rails, AngularJS, Javascript, Bootstrap, and Hybrid Mobile Apps with Cordova & Ionic.

Contact Me

Recommended Posts