Skip to content

Instantly share code, notes, and snippets.

@dustincys
Last active August 29, 2015 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dustincys/7f7769d7d585a31cff39 to your computer and use it in GitHub Desktop.
Save dustincys/7f7769d7d585a31cff39 to your computer and use it in GitHub Desktop.
tmux script
#!/bin/sh
tmux -2 new-session -d -s back
tmux new-window -t back:1 -n 'proxy'
tmux send-keys "proxyAll.sh" C-m
tmux new-window -t back:2 -n 'radio'
tmux send-keys "radio.sh" C-m
tmux -2 new-session -d -s work
tmux new-window -t work:1 -n 'email'
tmux send-keys "mutt-163" C-m
tmux new-window -t work:2 -n 'blog'
tmux send-keys "cd ~/github/blog/" C-m
tmux new-window -t work:3 -n 'project'
tmux -2 attach-session -t work
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment