Last active
December 14, 2015 01:19
-
-
Save eheikes/5005757 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
# Start all project servers, one per screen. | |
# http://superuser.com/questions/91881/invoke-zsh-having-it-run-a-command-and-then-enter-interactive-mode-instead-of | |
screen -t Web 1 zsh -ic 'cd ~/www/goodsmiths/ && gpull; bundle exec foreman start; zsh -i' | |
screen -t API 2 zsh -ic 'cd ~/www/goodsmiths_recommendation_engine && gpull && bundle exec foreman start; zsh -i' | |
screen -t AS 3 zsh -ic 'cd ~/www/goodsmiths_activity_stream && gpull && bundle exec foreman start; zsh -i' | |
screen -t GE 4 zsh -ic 'cd ~/www/goodsmiths_gaminator && gpull && bundle exec foreman start; zsh -i' | |
# Change the hardstatus settings to give an window list at the bottom of the screen, with the time and date and with the current window highlighted. | |
hardstatus alwayslastline | |
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment