cantino / mcfly

Fly through your shell history. Great Scott!
MIT License
6.75k stars 176 forks source link

zsh: always set MCFLY_HISTORY in main script #357

Closed utkarshgupta137 closed 1 year ago

utkarshgupta137 commented 1 year ago

When using McFly with terminal multiplexers such as Zellij, McFly will reuse MCFLY_HISTORY from the parent shell causing an issue if multiple panes are launched together using layouts. Always set MCFLY_HISTORY in the main shell init script to ensure that MCFLY_HISTORY is unique in the child shells.

Fixes #355.

cantino commented 1 year ago

Thanks! Hope you tested this, I'm rolling it out.

cantino commented 1 year ago

Released in https://github.com/cantino/mcfly/releases/tag/v0.8.1