Skip to content

Instantly share code, notes, and snippets.

@manuelbrunner
Created June 27, 2012 08:10
Show Gist options
  • Save manuelbrunner/3002379 to your computer and use it in GitHub Desktop.
Save manuelbrunner/3002379 to your computer and use it in GitHub Desktop.
tmux setup
apt-get install tmux
gem install teamocil
# ~/.teamocil/test.yml
windows:
- name: "test"
root: "/home/user/projects/test"
splits:
- cmd: "vim"
- cmd: "bundle exec guard"
height: 20
# ~/.bashrc
alias project_test='cd /home/user/projects/test;tmux new-session -d -s test;tmux send-keys -t test "teamocil test" C-m;tmux -2 attach-session -t switch-admin'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment