-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscreenrc
More file actions
26 lines (22 loc) · 800 Bytes
/
Copy pathscreenrc
File metadata and controls
26 lines (22 loc) · 800 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 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"
termcapinfo xterm-256color "Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm"
# erase background with current bg color
# why is this needed?
# defbce "on"
shell -$SHELL
hardstatus alwayslastline
#backtick 1 15 15 screenstats
hardstatus string '%{= G}[ %{G}%H %{g}][ %{=kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %1`%{g}][%{B}%m/%d %{W}%c %{g}]'
defscrollback 5000
startup_message off
vbell off
escape ``
# the following line only works in os x
#bind b eval "writebuf" "exec sh -c 'pbcopy </tmp/screen-exchange'"
autodetach on
# use utf8 encoding
defutf8 on