From 543e7b0f03f2c41752ec2e244e26c525a4791cb8 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 19 Oct 2007 17:15:29 +0000 Subject: -n is now -s on new-session. --- examples/mxey-start-tmux.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 examples/mxey-start-tmux.sh (limited to 'examples/mxey-start-tmux.sh') 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 -- cgit