#Bash losing history when you close a #tmux panel is really pissing me off.


@juliobiason Add this to your .bash_profile and you have an unified history.

# After each command, save and reload history
export PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND"

Sign in to participate in the conversation

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!