Skip to content

Instantly share code, notes, and snippets.

@santa4nt
Created April 22, 2010 01:52
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 santa4nt/374708 to your computer and use it in GitHub Desktop.
Save santa4nt/374708 to your computer and use it in GitHub Desktop.
My .screenrc configuration.
# .screenrc configuration
defscrollback 1024
# bind 'b' to copy to clipboard
bind b eval "writebuf" "exec sh -c 'pbcopy < /tmp/screen-exchange'"
# turn off start message
startup_message off
# auto-detach session on hangup (instead of terminating screen)
autodetach on
# preloaded screen windows with titles
#screen -t shell 0
#screen -t code 1
shelltitle "$ |bash"
# caption line
hardstatus on
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