I've seen this answer:
Preserve bash history in multiple terminal windows
This works for history, but I'm wondering if there is way to extend this so pressing "up" is shared as well?
|
I've seen this answer: Preserve bash history in multiple terminal windows This works for history, but I'm wondering if there is way to extend this so pressing "up" is shared as well? |
|||||||
|
|
While
|
||||
|
|
|
It should be possible by telling bash to write out and re-read the history after each command. Untested:
Sharing the history is the default behavior of ksh. In zsh, you get this behavior by turning on the |
|||
|
|