-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathscreenrc
39 lines (27 loc) · 873 Bytes
/
screenrc
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
27
28
29
30
31
32
33
34
35
36
37
38
39
source ~/.screenrc.local
#kill startup message
startup_message off
# define a bigger scrollback, default is 100 lines
defscrollback 32768
# 256 color xterm
attrcolor b ".I"
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
defbce "on"
shell zsh
# Use backtick instead of Ctrl+A
escape ``
vbell off
shelltitle "$ |zsh"
# 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 '%{= kK}%-Lw%{= KW}%50>%n%f* %t%{= kK}%+Lw%<'
# If a window goes unresponsive, don't block the whole session waiting for it.
defnonblock on
# Window numbering starts at 1, not 0.
bind c screen 1
bind 0 select 10
screen 1 zsh
# turn off locking the screen and unlocking it with your password
# https://unix.stackexchange.com/a/140951
bind x