4 ms·
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.
by kannanmr 4y ago
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.
- thewisenerd 4y agonot 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.
- kannanmr 4y agoThanks
- jasonpeacock 4y ago`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: https://github.com/2m/fish-history-merge https://github.com/2m/fish-history-merge
- kannanmr 4y agoGreat, thanks for the plugin pointer.