tmux bootstrap script
i usually have a tmux script per project which i run everytime i need to work on it
#!/bin/sh
tmux new-session -d -s project
tmux new-window -t project:2 -n 'vim' 'vim'
tmux new-window -t project:3 -n 'server' './script/server'
tmux new-window -t project:4 -n 'mysql' 'mysql -u root'
tmux select-window -t project:1
tmux -2 attach-session -t project
Written by Jerome Basa
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Tmux
Authors
Related Tags
#tmux
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#