dotfiles/home/.config/zsh/01-zellij.zsh

5 lines
122 B
Bash
Raw Normal View History

2023-03-25 12:27:05 +02:00
# Launch zellij if logging in over SSH
if [[ -z "$ZELLIJ" && -n "$SSH_CONNECTION" ]]; then
2023-03-25 12:30:32 +02:00
exec zellij attach -c ssh
2023-03-25 12:27:05 +02:00
fi