Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

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.


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.


Thanks


`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


Great, thanks for the plugin pointer.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: