Last active
August 6, 2017 07:08
-
-
Save steve0hh/5b5c65b02b86537f7be070865c84544a to your computer and use it in GitHub Desktop.
standard phoenix tmuxinator template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file is a configuration file for tmuxinator(https://github.com/tmuxinator/tmuxinator) | |
name: project_name | |
root: ~/code/project_name | |
# 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 | |
# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used. | |
# startup_window: logs | |
# 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 examhorror | |
pre: | |
- pg_ctl -D /usr/local/var/postgres start # start postgres | |
windows: | |
- editor: nvim . | |
- server: iex -S mix phoenix.server | |
- git: git status |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment