Skip to content

Instantly share code, notes, and snippets.

@ippa
Last active August 29, 2015 14:02
Show Gist options
  • Save ippa/2f6a76b1e96b0febd1c4 to your computer and use it in GitHub Desktop.
Save ippa/2f6a76b1e96b0febd1c4 to your computer and use it in GitHub Desktop.
start some rails-specific screen tabs
# load base-settings
source .screenrc
# create rails-specific tabs
screen -t guard /bin/bash -i -c "guard && bash"
screen -t logs /bin/bash -i -c "tail -f log/* && bash"
screen -t models /bin/bash -i -c "cd app/models && bash"
screen -t views /bin/bash -i -c "cd app/views && bash"
screen -t controllers /bin/bash -i -c "cd app/controllers && bash"
screen -t css /bin/bash -i -c "cd app/assets/stylesheets && bash"
screen -t js /bin/bash -i -c "cd app/assets/javascripts && bash"
select 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment