Guest User

Untitled

a guest
Jan 20th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.39 KB | None | 0 0
  1. #!/bin/bash
  2. clear
  3. T1=`pidof tmux`
  4. if [ -z "$T1" ]; then
  5.   tmux new-session -d -s boo
  6.   tmux send-keys 'woo hoo'
  7.   tmux rename-window 'foo'
  8.   tmux select-window -t 'foo'
  9.   tmux split-window -h
  10.   tmux send-keys 'do ray me'
  11.   tmux split-window -v
  12.   tmux send-keys 'irssi -c irc.freenode.net' C-m
  13.   tmux -2 attach-session -t boo
  14.   pause 30
  15.   tmux select-pane -t 2
  16.   tmux send-keys '/join ##linux' Com
  17. fi
Add Comment
Please, Sign In to add comment