Skip to content

Instantly share code, notes, and snippets.

@opencoca
Created April 11, 2017 19:30
Show Gist options
  • Save opencoca/ab97dc098770faa38a698773d67ef7d3 to your computer and use it in GitHub Desktop.
Save opencoca/ab97dc098770faa38a698773d67ef7d3 to your computer and use it in GitHub Desktop.
# Display list of screen panes on bottom of screen
caption always "%= %-w%L>%{= BW}%n*%t%{-}%52<%+w %L="
shelltitle "$ |bash"
# change terminal title depending on screen pane title
termcapinfo xterm* 'hs:ts=\E]0;:fs=\007:ds=\E]0;\007'
defhstatus "screen ^E (^Et) | $USER@^EH"
hardstatus off
# don't display the copyright page
startup_message off
# increase scrollback buffer size
defscrollback 10000
# create windows
screen -t "Server" ./docker_hard_restart.sh
screen -t "docker ps" ./.docker_ps.sh
screen -t coding vim .
@opencoca
Copy link
Author

Drop in a project and run any way you want...

screen -c .screenrc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment