Save Your Bash History Across Tabs And Sessions

Posted By Weston Ganger

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:

Article Topic:Software Development - Linux

Date:February 03, 2016