Fix zellij SSH attach

This commit is contained in:
Marko Korhonen 2024-02-04 10:27:08 +02:00
parent 5561023ea8
commit 634634ea27
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890

View file

@ -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