Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- clear
- T1=`pidof tmux`
- if [ -z "$T1" ]; then
- tmux new-session -d -s boo
- tmux send-keys 'woo hoo'
- tmux rename-window 'foo'
- tmux select-window -t 'foo'
- tmux split-window -h
- tmux send-keys 'do ray me'
- tmux split-window -v
- tmux send-keys 'irssi -c irc.freenode.net' C-m
- tmux -2 attach-session -t boo
- pause 30
- tmux select-pane -t 2
- tmux send-keys '/join ##linux' Com
- fi
Add Comment
Please, Sign In to add comment