local zsh history on up-arrow, global zsh-history on ctrl-R
0
votes
1
answer
41
views
I am looking for a very specific behavior in my [Zsh](https://en.wikipedia.org/wiki/Z_shell) terminals.
I have multiple terminal windows open at the same time.
On each terminal window, if I hit the up arrow, I'd like for it to go up through the **local** history of that specific terminal window.
On each terminal window, if I type
Ctrl-R
and then start typing to search through history, I would like it to search through the **global** history that comes from all the terminal windows combined.
Is it possible? How can I do it?
Asked by mareoraft
(649 rep)
Apr 23, 2025, 04:35 PM
Last activity: May 1, 2025, 07:59 AM
Last activity: May 1, 2025, 07:59 AM