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