Created
February 9, 2012 11:28
-
-
Save pete-otaqui/1779415 to your computer and use it in GitHub Desktop.
screenrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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