diff options
Diffstat (limited to 'examples/n-marriott.sh')
-rw-r--r-- | examples/n-marriott.sh | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/examples/n-marriott.sh b/examples/n-marriott.sh index e1d8ecc5..55cb9815 100644 --- a/examples/n-marriott.sh +++ b/examples/n-marriott.sh @@ -5,9 +5,7 @@ # I alias this script to "session" in .profile and use it to reconnect to # the main session (0) on my main tmux server. -SOCKET=/tmp/tmux-1000-main +TMUX="tmux -dLmain" -TMUX="tmux -S $SOCKET" - -$TMUX has -s0 2>/dev/null || $TMUX start -$TMUX attach -d -s0 +$TMUX has -t0 2>/dev/null || $TMUX -qf ~/.tmux.conf.main start +exec $TMUX attach -d -t0 |