The successor to gelp
A zellij sessionizer similar to tmux-sessionizer written purely in nushell.
Can be used with kitty terminal (using the kif.nu
script) to detach, select, and open / create zellij sessions.
Default behaviour simply selects a project and opens it.
Layouts can be configured using a very slightly extended version of zellij
's layout file format (example layouts included).
If no project-specific layout is provided, there is a default.
- Clone repo
- Run
use zelp.nu
- Run
zelp init
from the cloned repo directory- This is checked every time you run
zelp
, so it is not necessary if you runzelp
from within the cloned repo directory initially
- This is checked every time you run
- Make sure you have the 'dummy' entry in your password store if you wish to use the authentication for
root
priviledged commands in your zellij panes
Optional setup for use with kitty
Kitty allows remote control of terminal sessions which can be used to detach zellij, run commands, etc. making a more complete zellij sessionizer possible.
This is extremely hacky, but it works for detaching from zellij and running zelp
.
- Run
use kif.nu
- Map a key in kitty.conf to
kif switch-session
. This is a little weird since you need to run it withnushell
. Example mapping:
map f3 launch --keep-focus --copy-env /bin/nu -c "use /path/to/zelp-clone/kif.nu; kif switch-session"