Skip to content

Instantly share code, notes, and snippets.

@pedrombafonso
Created April 22, 2014 15:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pedrombafonso/11184113 to your computer and use it in GitHub Desktop.
Save pedrombafonso/11184113 to your computer and use it in GitHub Desktop.
tmux config for launching development tools
#!/bin/bash
shopt -s expand_aliases
source ~/.bash_profile;
PROJ_ROOT='~/dev/minuscode/dev/gitescrow/proj'
cd $PROJ_ROOT;
gco develop;
cd $PROJ_ROOT;
tmux neww -n proj;
tmux splitw -h -t 0 'mongod';
tmux splitw -v -t 0;
tmux splitw -v -t 1;
cd admin;
tmux neww -n admin;
tmux splitw -h -t 0 'gulp';
tmux splitw -v -t 0;
tmux splitw -v -t 1 'node-dev dist/server.js';
cd $PROJ_ROOT;
cd api;
tmux neww -n api;
tmux splitw -h -t 0;
tmux splitw -v -t 0;
tmux splitw -v -t 1 'node-dev server.js';
cd $PROJ_ROOT;
cd auth;
tmux neww -n auth;
tmux splitw -h -t 0;
tmux splitw -v -t 0;
tmux splitw -v -t 1 'node-dev server.js';
cd ~;
tmux neww -n home;
tmux splitw -h -t 0;
tmux splitw -v -t 0;
tmux splitw -v -t 1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment