Linux

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 


Want me to help develop your next project or application?

Contact Us

Specializing in Ruby-on-Rails, Javascript, Multi-Platform Electron Desktop Apps and Hybrid Cordova Mobile Apps.

Recommended Posts