zellij-org / zellij

A terminal workspace with batteries included
https://zellij.dev
MIT License
21.94k stars 666 forks source link

Session already exists, but is dead #3731

Open matiux opened 2 weeks ago

matiux commented 2 weeks ago

version: zellij 0.41.1 stty size: 63 253 uname -av: Linux iuxhome 6.11.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 01 Nov 2024 03:30:41 +0000 x86_64 GNU/Linux

After updating to version 0.41.1 I get this error: Session with name "default-session" already exists, but is dead. Use the attach command to resurrect it or, the delete-session command to kill it or specify a different name.

To run Zellij, I alway had this snippet in my .zshrc:

if [[ ! -v ZELLIJ || ( -v ZELLIJ && $ZELLIJ -eq 1 ) ]]; then
    #(( ${+commands[zellij]} )) && eval "$(zellij attach default-session)"
    zellij attach --create default-session
fi

zellij ls does not show anything

merikan commented 1 week ago

@matiux it sounds like #3371