tmux/examples/mxey-start-tmux.sh

11 lines
284 B
Bash
Raw Normal View History

#!/bin/sh
tmux attach
if [[ $? = 1 ]]; then
2007-10-19 17:15:29 +00:00
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