diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-02 20:52:43 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-02 20:52:43 +0000 |
commit | f6b86402c7fd1f4af0e4d163f22e4b9f71b2e538 (patch) | |
tree | a477f847000c9037f13df98a2f60065eb7faec30 /examples/nicm-start-tmux.sh | |
parent | 00c6585e37df01f27e876b4039d22fc9a064c85b (diff) | |
download | rtmux-f6b86402c7fd1f4af0e4d163f22e4b9f71b2e538.tar.gz rtmux-f6b86402c7fd1f4af0e4d163f22e4b9f71b2e538.tar.bz2 rtmux-f6b86402c7fd1f4af0e4d163f22e4b9f71b2e538.zip |
Remove old examples, add new.
Diffstat (limited to 'examples/nicm-start-tmux.sh')
-rw-r--r-- | examples/nicm-start-tmux.sh | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/examples/nicm-start-tmux.sh b/examples/nicm-start-tmux.sh deleted file mode 100644 index 1389252b..00000000 --- a/examples/nicm-start-tmux.sh +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/sh -x - -[ ! -z "$TMUX" ] && exit - -SOCKET=/tmp/tmux-1000-main - -TMUX="tmux -S $SOCKET" - -if ! $TMUX -s0 has 2>/dev/null; then - # Session 0 - $TMUX new -d -s0 -nyelena 'exec ssh yelena' # 0 - - # These needs to be set before starting shells... - $TMUX set default-command "exec $SHELL -l" - $TMUX set history-limit 10000 - - $TMUX -s0 neww -d -ntodo 'exec emacs ~/TODO' # 1 - $TMUX -s0 neww -d -nncmpc # 2 - $TMUX -s0 neww -d & # 3 - $TMUX -s0 neww -d & # 4 - $TMUX -s0 neww -d & # 5 - $TMUX -s0 neww -d & # 6 - $TMUX -s0 neww -d & # 7 - $TMUX -s0 neww -d & # 8 - $TMUX -s0 neww -d & # 9 - - # 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 & - $TMUX unbind ^B & - $TMUX bind ^A send-prefix & - - # Bind q,w,e to session 0,1,2. We need per-session toolbar colours! - $TMUX bind q switch 0 & - $TMUX bind Q switch 0 & - $TMUX bind w switch 1 & - $TMUX bind W switch 1 & - $TMUX bind e switch 2 & - $TMUX bind E switch 2 & - - $TMUX bind I list-windows & - $TMUX bind i list-windows & - - # No bells, thanks - $TMUX set bell-action none & -fi - -$TMUX -s0 attach -d |