Hacker News new | ask | show | jobs
by paddyoloughlin 4353 days ago
The history is a property of the shell (bash, zsh), not the terminal.

Edit: I wrote a thing here about the difficulty of carrying history across terminal sessions and how can you associate a tab you open now with a tab you had open in a previous session, but then I realised that I misread your post.

I would expect the answer in the posted link to work. The 'share_history' option, when set, tells zsh to reread the history file before performing history lookups.

Maybe try the set-local-history option documented here?

1: http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#...