withfig / fig

Public issue tracker for Fig.
https://fig.io
MIT License
2.05k stars 55 forks source link

Add support for `zellij` #1004

Open ozsay opened 2 years ago

ozsay commented 2 years ago

Sanity checks

Feature Details

Description:

Add support for zellij which is a terminal multiplexer (similar to tmux) https://github.com/zellij-org/zellij

Thanks :)

fedeci commented 2 years ago

I'm moving the issue to the withfig/autocomplete repo. Would you like to work on this?

ozsay commented 2 years ago

well.. I may need to clarify :)

as much as I would like to have autocomplete for the zellij cli (I perhaps can work on this), I prefer that fig will work in a zellij session

fedeci commented 2 years ago

My bad🤦‍♂️ I didn't read the description.

ozsay commented 2 years ago

I've managed to hack the fig config files to make it work for my fish setup. 

https://gist.github.com/ozsay/bb420060a62a33beee8eb77b1fbd1a1e/revisions

mschrage commented 2 years ago

Thanks for sharing your workaround @ozsay!

clo4 commented 2 years ago

Temporary workaround (cc @integralist) - you can use FIG_NEW_SESSION=1 zellij to launch it and that should give fig support in it. Make sure not to export this variable though, it can cause some performance issues if you open nested terminals

imsnif commented 1 year ago

Hey @SeparateRecords, @fedeci, @mschrage - might this be relevant to your interests: https://github.com/zellij-org/zellij/pull/1908 ?