diff options
author | Maximilian Gass <mxey@arcor.de> | 2007-10-04 14:14:12 +0000 |
---|---|---|
committer | Maximilian Gass <mxey@arcor.de> | 2007-10-04 14:14:12 +0000 |
commit | beae2d91a491ca0866e7b99f33d44a37028912a8 (patch) | |
tree | 7190bedb75252bff649b2aa5c09580698e3db8a8 /examples | |
parent | 6a784ba0b0b450fe21034d97280f7d4dce702d42 (diff) |
Added my tmux start script as an example (examples/start-tmux.sh)
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/start-tmux.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/start-tmux.sh b/examples/start-tmux.sh new file mode 100755 index 00000000..ee21057c --- /dev/null +++ b/examples/start-tmux.sh @@ -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 |