-n is now -s on new-session.

This commit is contained in:
Nicholas Marriott
2007-10-19 17:15:29 +00:00
parent 1b9647669a
commit 543e7b0f03
6 changed files with 51 additions and 9 deletions

View File

@ -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