Re:Fish 3.6.0
by kannanmr on Sunday January 08, 2023 @11:42AM
(#34300572)
Possible to do global history across sessions in fish? I use multiple zsh sessions (as tabs) in iterm2, and love the fact my commands are available across tabs.
[ Parent
| on HN ]
Re:Fish 3.6.0
by jasonpeacock on Sunday January 08, 2023 @12:36PM
(#34301117)
`history merge` can be run manually in Fish to force the current session to pickup the global history, or you can use a small plugin to do it automatically:
Great, thanks for the plugin pointer.
Re:Fish 3.6.0
by thewisenerd on Sunday January 08, 2023 @12:12PM
(#34300882)
not an answer to your question, but an alternative,
whenever I feel that historical command context missing (why does "UP" not give me my command I ran 5 tabs away?!), I run `history merge` and be on my way.