mirror of
https://github.com/tmux/tmux.git
synced 2024-12-24 01:58:46 +00:00
Oops, no $SESSION now.
This commit is contained in:
parent
60501ec040
commit
1717764134
@ -6,7 +6,7 @@ SOCKET=/tmp/tmux-1000-main
|
||||
|
||||
TMUX="tmux -S $SOCKET"
|
||||
|
||||
if ! $TMUX -s $SESSION has 2>/dev/null; then
|
||||
if ! $TMUX -s0 has 2>/dev/null; then
|
||||
# Session 0
|
||||
$TMUX new -d -s0 -nyelena 'exec ssh yelena' # 0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user