Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

.bin/tmuxrc

By: a guest on Dec 20th, 2010  |  syntax: None  |  size: 1.01 KB  |  hits: 402  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #!/bin/sh
  2. ################################################################################
  3. # File              : $HOME/.bin/tmuxrc
  4. # Description       : Automatic start tmux with panes, files, programs
  5. # Author            : MrTux <mrtux@ubuntu-vn.org>
  6. # Homepage          : http://my.opera.com/mrtux-hdb
  7. # Last Modified     : Sun 28 Nov 2010 03:56:41 AM ICT
  8. ################################################################################
  9.  
  10. tmux start-server
  11. tmux new-session -d -s GENTOO -n 'IRC' 'irssi'
  12. tmux split-window -h -t GENTOO:1 'sudo -i'
  13. tmux split-window -v -t GENTOO:1  'mc'
  14. tmux select-pane -L
  15. tmux split-window -v
  16.  
  17. tmux new-window -t GENTOO:2 -n 'music' 'ncmpcpp'
  18. tmux new-window -t GENTOO:3 -n 'rtorrent' 'rtorrent'
  19. tmux new-window -t GENTOO:4 -n 'vim' 'vim ~/.vim/doc/tutor'
  20. tmux split-window -h -t GENTOO:4
  21.  
  22. tmux new-window -t GENTOO:5
  23. tmux new-window -t GENTOO:6
  24. tmux new-window -t GENTOO:7
  25. tmux new-window -t GENTOO:8
  26. tmux new-window -t GENTOO:9
  27.  
  28. tmux select-window -t GENTOO:1
  29. tmux -2 attach-session -t GENTOO