blob: 729b4207b6ab39a1dc39ed0cc3cff8c3d147cfa9 (
plain)
1
2
3
4
5
6
7
8
|
if [ -n "$SSH_CONNECTION" ]; then
# If we are logged in via SSH, automatically attach to master session
[ -z "$TMUX" ] && (tmux attach -t master || tmux new -s master)
else
# If we are logged in directly (not via SSH)
# create the session which will be displayed on TV
tmuxinator start display
fi
|