Open frolvanya opened 4 months ago
You might be interested in the welcome-screen and/or the session-manager. They have this functionality (also with filtering your fuzzy found selection in real time in a list) built-in. You can check out this screencast for more info: https://zellij.dev/tutorials/session-management/
If you already have fzf
installed, you could create an alias to do something like what you suggest:
zellij attach $(zellij ls -s | fzf)
I use the following alias:
alias zat='zellij attach $(zellij ls -s | fzf)'
Instead of typing
zellij a session-name
, wouldn't it be better to usezellij a se
(using just the first few characters)? If there are multiple names starting with the same prefix, we could then open fzf for selection: