rvm use system
sudo gem install teamocil
alias to="teamocil --here"
# put app.yml in ~/.teamocil
Usage:
tmux
to app
session: | |
name: "app" | |
windows: | |
- name: "app-name" | |
root: ~/Projects/app | |
splits: | |
- cmd: "clear" | |
- cmd: "clear; vim" | |
width: 75 | |
- name: "console" | |
root: ~/Projects/app | |
filters: | |
after: 'tmux selectw -t 1' | |
splits: | |
- cmd: 'clear; git status' |
Better to use the app name for the first tab so you can quickly see in which session you are.