aboutsummaryrefslogtreecommitdiff
path: root/examples/mxey-start-tmux.sh
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-10-19 17:15:29 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-10-19 17:15:29 +0000
commit543e7b0f03f2c41752ec2e244e26c525a4791cb8 (patch)
tree57fbb81363302cdbc4ab6c053a507381a7dba8cb /examples/mxey-start-tmux.sh
parent1b9647669a1190044f2296008a25e3aa0016934b (diff)
downloadrtmux-543e7b0f03f2c41752ec2e244e26c525a4791cb8.tar.gz
rtmux-543e7b0f03f2c41752ec2e244e26c525a4791cb8.tar.bz2
rtmux-543e7b0f03f2c41752ec2e244e26c525a4791cb8.zip
-n is now -s on new-session.
Diffstat (limited to 'examples/mxey-start-tmux.sh')
-rw-r--r--examples/mxey-start-tmux.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/mxey-start-tmux.sh b/examples/mxey-start-tmux.sh
new file mode 100644
index 00000000..fb062276
--- /dev/null
+++ b/examples/mxey-start-tmux.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+tmux attach
+if [[ $? = 1 ]]; then
+ tmux new-session -d -smain 'exec irssi'
+ tmux -smain set prefix '^H'
+ tmux -smain new-window -d -nherrie 'exec sudo herrie -c /home/mxey/etc/herrie/config'
+ tmux -smain new-window -d 'exec lynx'
+ exec tmux -smain attach
+fi