pub fn attach_session(name: &str) -> Result<()>Expand description
Attaches to a Zellij session by name.
When already inside Zellij, switches to the session in-place to avoid nesting.
When outside, spawns an interactive zellij attach with inherited stdio.
ยงErrors
- Invoking
zellij attachorzellij action switch-sessionfails.