mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 06:17:04 +00:00
Remove old examples, add new.
This commit is contained in:
13
examples/n-marriott.sh
Normal file
13
examples/n-marriott.sh
Normal file
@ -0,0 +1,13 @@
|
||||
#!/bin/sh -x
|
||||
|
||||
[ ! -z "$TMUX" ] && exit
|
||||
|
||||
# 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 -S $SOCKET"
|
||||
|
||||
$TMUX has -s0 2>/dev/null || $TMUX start
|
||||
$TMUX attach -d -s0
|
Reference in New Issue
Block a user