Skip to content

Instantly share code, notes, and snippets.

@pete-otaqui
Created February 9, 2012 11:28
Show Gist options
  • Save pete-otaqui/1779415 to your computer and use it in GitHub Desktop.
Save pete-otaqui/1779415 to your computer and use it in GitHub Desktop.
screenrc
screen -t current
chdir $HOME
screen
screen
select 0
altscreen on
#term screen-256color
# 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"
msgwait 1
#change the hardstatus settings to give an window list at the bottom of the
#screen, with the time and date and with the current window highlighted
hardstatus alwayslastline
#hardstatus string '%{= kG}%-Lw%{= kW}%50> %n%f* %t%{= kG}%+Lw%< %{= kG}%-=%c:%s%{-}'
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %m-%d %{W}%c %{g}]'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment