Created
September 3, 2015 16:55
-
-
Save patrickwmcgee/898031da0b7d0eddd304 to your computer and use it in GitHub Desktop.
This file contains 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 | |
ELM_PATH="/elm" | |
tmux start-server | |
tmux new-session -d -s elm | |
tmux split-window -v -t elm:1 | |
tmux select-pane -t 0 | |
tmux send-keys "cd $ELM_PATH" C-m | |
tmux select-pane -t 1 | |
tmux send-keys "cd $ELM_PATH" C-m | |
tmux rename-window -t elm:1 ELM | |
tmux rename-window -t elm:2 ELM-SERVER | |
tmux attach-session -d -t elm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment