mirror of
https://github.com/tmux/tmux.git
synced 2025-09-04 06:56:58 +00:00
Document -L and -8, fix synopsis.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user