Advertisement
Guest User

.bin/tmuxrc

a guest
Dec 20th, 2010
578
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement