Skip to content

Instantly share code, notes, and snippets.

@omarish
Created March 25, 2011 23:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save omarish/887873 to your computer and use it in GitHub Desktop.
Save omarish/887873 to your computer and use it in GitHub Desktop.
My Default screen.rc file for a django project. just run screen -c screen.rc and get to work!
hardstatus on
hardstatus alwayslastline
hardstatus string "%{.bW}%w%{.rW}%n %t^{-}%+w %=%{..G} %H %{..Y} %m/%d %C%a "
startup_message off
defscrollback 5000
altscreen on
autodetach on
sessionname mendel
bind ' ' windowlist -b
vbell off
screen -t fun! 1 bash -c 'source bin/activate; bash;'
screen -t srv 2 bash -c 'source bin/activate; python src/manage.py runserver'
screen -t test 3 bash -c 'source bin/activate; bash; cd src/; echo "Test!";'
screen -t shell 4 bash -c 'source bin/activate; python src/manage.py shell'
screen -t compass 5 bash -c 'source bin/activate; compass watch --poll static/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment