# Save this in ~/.screenrc # For help see: http://www4.cs.fau.de/~jnweiger/screen-faq.html # Use bash shell /bin/bash autodetach on # Big scrollback defscrollback 5000 # No annoying startup message startup_message off # Display the status line at the bottom hardstatus on hardstatus alwayslastline hardstatus string "%{.kW}%-w%{.bW}%t [%n]%{-}%+w %=%{..G} %H %{..Y} %Y/%m/%d %c" # Setup screens chdir /home/vagrant/Sites # All screens start in ~/Sites folder screen -t 'server' 0 bash # Make first screen for running server screen -t 'specs' 1 bash # Make screen for running tests screen -t 'workspace' 2 bash # Make screen for general work i.e. running git commands # Switch to the workspace screen select 2 # termcapinfo xterm ti@:te@ termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007:ti@:te@'