Fix zellij SSH attach
This commit is contained in:
parent
5561023ea8
commit
634634ea27
|
@ -1,7 +1,7 @@
|
|||
if [[ -z "$ZELLIJ" ]]; then
|
||||
# Launch or attach to existing session if logging in over ssh
|
||||
if [[ -n "$SSH_CONNECTION" ]]; then
|
||||
exec zellij attach -s SSH
|
||||
exec zellij attach -c SSH
|
||||
# Launch a new local session otherwise
|
||||
else
|
||||
exec zellij
|
||||
|
|
Loading…
Reference in a new issue