Created — forked from dpickett/

  • Download Gist
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
export WORKING_DIR=~/work/textaurant
cd $WORKING_DIR; mvim; gitx
tmux start-server
tmux new-session -d -s Textaurant -n work
tmux new-window -tTextaurant:1 -n server
tmux new-window -tTextaurant:2 -n test
tmux send-keys -tTextaurant:0 'cd $WORKING_DIR' C-m
tmux send-keys -tTextaurant:1 'cd $WORKING_DIR && rails s' C-m
tmux send-keys -tTextaurant:2 'cd $WORKING_DIR && bundle exec autotest -f' C-m
tmux select-window -tTextaurant:0
tmux attach-session -d -tTextaurant

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.