Skip to content

Instantly share code, notes, and snippets.

@ayumi
Created November 7, 2012 23:23
Show Gist options
  • Save ayumi/4035324 to your computer and use it in GitHub Desktop.
Save ayumi/4035324 to your computer and use it in GitHub Desktop.
ayumi's .screenrc
# ===============================================================
# ESCAPE - the COMMAND CHARACTER
# ===============================================================
# escape ^aa # default
# escape ^pp # suggested binding for emacs users
# escape ` # backtick
#
escape ``
# ===============================================================
# VARIABLES - Boolean values (on/off)
# ===============================================================
# detach on hangup
# autodetach on # default: on
# crlf off # default: off
# deflogin off # default: on
# defsilence off # default: off
# hardcopy_append on # default: off
# hardcopy_append off # default: off
# nethack on # default: off
# don't display the copyright page
startup_message off # default: on
# no annoying audible bell, please
vbell on
# if we accidentally hangup, don't be all attached when we come back.
autodetach on
# more scrollbacks!
defscrollback 10000
# disable use of the "alternate" terminal
# thus allowing scrollbars to function as normal in
# many terminal emulators! <3 it
termcapinfo xterm* ti@:te@
# have screen update terminal emulators titlebar
termcapinfo xterm* 'hs:ts=\E]0;:fs=\007:ds=\E]0;\007'
defhstatus "screen ^E (^Et) | $USER@^EH"
# but dont print i.e. "bell in window 0" status craps
#hardstatus off
#shelltitle "$ |bash"
screen 1 bash
title 'sh'
screen 2 bash
title 'cons'
screen 3 bash
title 'serv'
screen 4 bash
title 'log'
hardstatus alwayslastline
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{=kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][ %{B}%Y-%m-%d %{W}%c %{g}][ Load: %{G}%l ]'
defflow off
#rvm needs this
shell -${SHELL}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment