Skip to content

Instantly share code, notes, and snippets.

@esparkman
Last active February 3, 2020 14:50
Show Gist options
  • Save esparkman/51cadd1f5e1fb03846be6eba2ffda4bf to your computer and use it in GitHub Desktop.
Save esparkman/51cadd1f5e1fb03846be6eba2ffda4bf to your computer and use it in GitHub Desktop.
# /Users/evansparkman/.config/tmuxinator/listen360.yml
name: listen360
root: ~/Listen360/
windows:
- Shell: clear && ls -lah
- DB:
layout: even-horizontal
panes:
- clear && psql l360_development_master
- clear && psql l360_development_data
- Gatekeeper:
root: "~/Listen360/gatekeeper"
layout: even-horizontal
panes:
- clear && git status
- clear && bundle exec rails s
- Listen360:
root: "~/Listen360/listen360"
layout: even-horizontal
panes:
- clear && git status
- clear && ./run_dev_puma.sh
- Legacy Dashboards:
root: "~/Listen360/legacy_dashboards"
layout: even-horizontal
panes:
- clear && git status
- clear && ./run_dev_puma.sh
- Alexandria/Sparta:
root: "~/Listen360"
layout: even-horizontal
panes:
- cd alexandria
- cd sparta && yarn serve
- Dashboards:
root: "~/Listen360/dashboards"
layout: even-horizontal
panes:
- clear && git status
- clear && bundle exec rails s
- Feedback:
root: "~/Listen360/feedback"
layout: even-horizontal
panes:
- clear && git status
- clear && ./run_dev_puma.sh
- Models/ApiClient:
root: "~/Listen360/"
layout: even-horizontal
panes:
- cd models && clear && git status
- cd api_client && clear && git status
# Optional tmux socket
# socket_name: foo
# Runs before everything. Use it to start daemons etc.
# pre: sudo /etc/rc.d/mysqld start
# Project hooks
# Runs on project start, always
# on_project_start: command
# Run on project start, the first time
# on_project_first_start: command
# Run on project start, after the first time
# on_project_restart: command
# Run on project exit ( detaching from tmux session )
# on_project_exit: command
# Run on project stop
# on_project_stop: command
# 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
# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
# startup_window: editor
# Specifies (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used.
# startup_pane: 1
# Controls whether the tmux session should be attached to automatically. Defaults to true.
# attach: false
# Runs after everything. Use it to attach to tmux with custom options etc.
# post: tmux -CC attach -t listen360
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment