4 ms·
How do you deal with input from multiple concurrent bash sessions? Usually I’ll have two or three konsole windows open at the same time, and I’ve noticed that
by zach43 8y ago
How do you deal with input from multiple concurrent bash sessions?
Usually I’ll have two or three konsole windows open at the same time, and I’ve noticed that only one of them appears in the bash history...is there an easy way to have it store all the history from all the windows?
- phs2501 8y agoUse zsh. https://askubuntu.com/questions/23630/how-do-you-share-history-between-terminals-in-zsh https://askubuntu.com/questions/23630/how-do-you-share-histo... It is possible to get similar effects by kludging around with bash, but it's a built-in feature in zsh.
- aepiepaey 8y agoshopt -s histappend In your .bashrc. Note that history is only saved when the shell exits, so new shells will only see history from other shells that have already exited.