-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscreenrc
36 lines (27 loc) · 1.02 KB
/
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
# go to home dir
#chdir
# Automatically detach on hangup.
autodetach on
# Change default scrollback value for new windows
defscrollback 10000
# Allow to use mouse to work with screen tabs
# source: https://superuser.com/questions/629004/gnu-screen-change-focus-in-split-windows-with-mouse
# mousetrack on
term xterm-256color
truecolor on
# For agent forwarding to work https://gist.github.com/martijnvermaat/8070533
setenv SSH_AUTH_SOCK $HOME/.ssh/ssh_auth_sock
# start with visual bell as default
vbell on
vbell_msg "bell on %t (%n)"
# look and feel
#caption always "%{= kw}%-w%{= BW}%n %t%{-}%+w %-= @%H - %LD %d %LM - %c"
hardstatus alwayslastline "%{= kw}%-w%{= BW}%n %t%{-}%+w %-= @%H - %LD %d %LM - %c"
#hardstatus alwayslastline "%-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%<"
activity "Activity in %t(%n)"
# start with screen 1 number instead of 0
# source: https://wiki.archlinux.org/index.php/GNU_Screen#Start_at_window_1
bind c screen 1
bind ^c screen 1
bind 0 select 10
screen 1