When I have two terminals open in Bash, each of them saves its own history, so pressing the arrow always represents the previous command entered into this terminal.
In zsh, the story is shared, so the up arrow displays the last command entered at any terminal. I like that ctrl-R gives me a complete, general history, but is there a way to make an arrow to give me the last command from the active terminal?
zsh
mseebach Feb 29 2018-12-12T00: 00Z
source share