Skip to content

Instantly share code, notes, and snippets.

@msherry
Created June 17, 2014 22:10
Show Gist options
  • Save msherry/e936878a01aca5fce6aa to your computer and use it in GitHub Desktop.
Save msherry/e936878a01aca5fce6aa to your computer and use it in GitHub Desktop.
Working tmuxinator
# ~/.tmuxinator/balanced.yml
name: balanced
root: ~/pp/balanced
# Optional tmux socket
# socket_name: foo
# Runs before everything. Use it to start daemons etc.
# pre: sudo /etc/rc.d/mysqld start
# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
# pre_window: rbenv shell 2.0.0-p247
# Pass command line options to tmux. Useful for specifying a different tmux.conf.
# tmux_options: -f ~/.tmux.mac.conf
# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
# tmux_command: byobu
windows:
- confucius:
layout: main-vertical
panes:
- confucius:
- cd ~/pp/confucius/
- workon confucius
- api:
- cd ~/pp/cookbooks/role-balanced-api/
- worker:
- cd ~/pp/cookbooks/role-balanced-worker/
- nose:
- cd ~/pp/balanced
- workon balanced
- remote-shell:
- sash bapi-live-prod-7nf6hx-10-3-4-216
- tmux attach
- db-03:
- ssh balanced-db-03
- db-01:
- ssh balanced-db-01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment