diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-10-23 10:52:53 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-10-23 10:52:53 +0000 |
commit | 9a086da0812ea217cb046f5571eb473d3ea1a38b (patch) | |
tree | 4f4b083c6637731a970c9d18c92af94ccd91fea5 /examples | |
parent | 688a487570e39312c39d7a46e0a7ed6e61392ee8 (diff) |
Sync.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/nicm-start-tmux.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/examples/nicm-start-tmux.sh b/examples/nicm-start-tmux.sh index b4029d1b..f4f8fb07 100644 --- a/examples/nicm-start-tmux.sh +++ b/examples/nicm-start-tmux.sh @@ -1,4 +1,6 @@ -#!/bin/sh +#!/bin/sh -x + +[ ! -z "$TMUX" ] && exit SOCKET=/tmp/tmux-1000-main SESSION=natasha-main @@ -7,8 +9,11 @@ TMUX="tmux -S $SOCKET" if ! $TMUX -s $SESSION attach 2>/dev/null; then $TMUX new -d -s $SESSION -nyelena 'exec ssh yelena' # 0 + + $TMUX set default-command "$SHELL -l" + $TMUX -s $SESSION neww -d -ntodo 'exec emacs ~/TODO' # 1 - $TMUX -s $SESSION neww -d -nncmpc 'exec ncmpc -f ~/.ncmpc.conf' # 2 + $TMUX -s $SESSION neww -d -nncmpc # 2 $TMUX -s $SESSION neww -d # 3 $TMUX -s $SESSION neww -d # 4 $TMUX -s $SESSION neww -d # 5 |