diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-11-17 08:28:48 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-11-17 08:28:48 +0000 |
commit | 60501ec0406040ab3128be48eab2a0194ca8a9df (patch) | |
tree | b8da4749019ab528f350fd7ce57a8a16e7a4173c | |
parent | 958cd9cb94bc5aeccc81c4bdc58160316cd87f46 (diff) | |
download | rtmux-60501ec0406040ab3128be48eab2a0194ca8a9df.tar.gz rtmux-60501ec0406040ab3128be48eab2a0194ca8a9df.tar.bz2 rtmux-60501ec0406040ab3128be48eab2a0194ca8a9df.zip |
Sync.
-rw-r--r-- | examples/nicm-start-tmux.sh | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/examples/nicm-start-tmux.sh b/examples/nicm-start-tmux.sh index ab406249..6f26de2c 100644 --- a/examples/nicm-start-tmux.sh +++ b/examples/nicm-start-tmux.sh @@ -23,11 +23,15 @@ if ! $TMUX -s $SESSION has 2>/dev/null; then $TMUX -s0 neww -d # 8 $TMUX -s0 neww -d # 9 - # Session 1 - $TMUX new -d -s1 # 0 - - # Session 2 - $TMUX new -d -s2 # 0 + # Other sessions + for i in 1 2; do + # Window 0 is linked from session 0 + $TMUX new -d -s$i + $TMUX -s$i linkw -dki0 0 0 + + $TMUX -s$i neww -d + $TMUX -s$i neww -d + done # Rebind prefix key $TMUX set prefix ^A |