Closed theherk closed 2 days ago
I tried building with let layout_name = "editor";
on L21, but it didn't work as expected. I was hoping to add another optional suffix, so it could be invoked with "$name::$cwd::$layout"
.
I'll poke around at it some more. Let me know if you have some wisdom here.
To clarify, it still just launched with the default layout, rather than with layout editor
.
Resolved in https://github.com/mostafaqanbaryan/zellij-switch/pull/5 by @theherk.
Would be excellent to add the new
--new-session-with-layout
argument. I am starting with this script:And I'd really love to do:
zellij pipe --plugin file:~/bin/zellij-switch.wasm -- -n editor "$pname::$pdir"