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: