Revert "Switch from tmux to zellij"

This reverts commit 98a01af1a6.
main
Marko Korhonen 1 year ago
parent 7c5f21daba
commit 52d76d6be5
No known key found for this signature in database
GPG Key ID: A7F78BCB859CD890

@ -0,0 +1,8 @@
# Launch tmux if logging in over ssh
if [[ -z "$TMUX" ]] && [[ -n "$SSH_CONNECTION" ]]; then
if tmux has-session -t ssh_tmux 2>/dev/null; then
exec tmux -2 attach-session -t ssh_tmux
else
exec tmux -2 new-session -s ssh_tmux
fi
fi

@ -1,4 +0,0 @@
# Launch zellij if logging in over SSH
if [[ -z "$ZELLIJ" && -n "$SSH_CONNECTION" ]]; then
exec zellij attach -c ssh
fi
Loading…
Cancel
Save