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

5 lines
123 B
Bash

# Launch zellij if logging in over SSH
if [[ -z "$ZELLIJ" && -n "$SSH_CONNECTION" ]]; then
exec zellij attach -cs ssh
fi