Skip to content

brunerm99/zelp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zelp - Zellij hELPer

The successor to gelp

What is it?

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.

Setup

  1. Clone repo
  2. Run use zelp.nu
  3. Run zelp init from the cloned repo directory
    • This is checked every time you run zelp, so it is not necessary if you run zelp from within the cloned repo directory initially
  4. 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.

  1. Run use kif.nu
  2. Map a key in kitty.conf to kif switch-session. This is a little weird since you need to run it with nushell. Example mapping:
map f3 launch --keep-focus --copy-env /bin/nu -c "use /path/to/zelp-clone/kif.nu; kif switch-session"

About

Zelp - Zellij hELPer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published