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

Follow

@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
Ruhr.Social

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