Created
November 12, 2014 19:32
-
-
Save jasonblanchard/7e28d019b0f13e231c16 to your computer and use it in GitHub Desktop.
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
| #! /bin/bash | |
| tmux start-server | |
| cd ./apprennet-com | |
| tmux new-session -d -s apprennet | |
| # Code window | |
| tmux rename-window -t apprennet:0 code | |
| tmux new-window -t apprennet:1 -n git | |
| # Set up console windows | |
| tmux new-window -t apprennet:2 -n console | |
| tmux select-window -t apprennet:2 | |
| tmux send-keys -t apprennet:2 "foreman start" C-m | |
| tmux split-window -h | |
| tmux send-keys -t apprennet:2 "rails c" C-m | |
| tmux select-window -t apprennet:2 | |
| tmux attach -t apprennet |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment