Added my tmux start script as an example (examples/start-tmux.sh)

This commit is contained in:
Maximilian Gass
2007-10-04 14:14:12 +00:00
parent 6a784ba0b0
commit beae2d91a4
2 changed files with 12 additions and 1 deletions

10
examples/start-tmux.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
tmux attach
if [[ $? = 1 ]]; then
tmux new-session -d -nmain '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