Skip to content

Instantly share code, notes, and snippets.

@jhsu
Created February 8, 2010 19:34
Show Gist options
  • Save jhsu/298490 to your computer and use it in GitHub Desktop.
Save jhsu/298490 to your computer and use it in GitHub Desktop.
startup_message off
term screen-256color-bce
# term xterm-256color
escape ^Bb
# terminfo and termcap for nice 256 color terminal
# allow bold colors - necessary for some reason
attrcolor b ".I"
# tell screen how to set colors. AB = background, AF=foreground
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
# erase background with current bg color
defbce "on"
# caption always "%?%{+b kw}%-Lw%?%{yK}%n*%f %t%?(%u)%?%?%{wk}%+Lw%? %{gk}%=%c %{yk}%d/%M/%Y"
hardstatus alwayslastline
hardstatus string '%{= kG}%-Lw%{= kW}%50> %n*%f %t%{= kG}%+Lw%< %{= kG}%-=%D %m/%d/%y | %3`@%2` %C:%s %A | %1`%{-}'
backtick 2 60 60 hostname
backtick 3 60 60 whoami
# bind ' ' window list -b
autodetach on
defscrollback 5000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment