-
Notifications
You must be signed in to change notification settings - Fork 0
/
.screenrc
51 lines (38 loc) · 1.3 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
## ~/.screenrc: GNU Screen configuration. -*-conf-*-
#
# Jason R. Blevins <jblevins@xbeta.org>
# Created: Durham, January 19, 2007
# Last Modified: April 29, 2021
#
# Parts taken from the following sources:
# * http://texnatse.blogsome.com/2005/09/01/my-screenrc/
# * http://planet.gentoo.org/developers/dams/2006/09/22/screenrc
# * https://serverfault.com/questions/3740/what-are-useful-screenrc-settings
# UTF-8
defutf8 on
utf8 on on
term "screen-256color"
# Use visual bell.
vbell on
# Suppress the startup message.
startup_message off
# Scrolling buffer.
defscrollback 10000
# Change the escape character to `.
#escape ``
# Change the escape character to C-z.
escape ^za
# Detach on hangup.
autodetach on
# Set the caption to include the window list, time, and date.
caption always "%{= dw}%-w%{= bk}%n %t%{-}%+w %-= %{dg}%M %d %c"
# turn sending of screen messages to hardstatus off
hardstatus off
# Set the hardstatus prop on gui terms to set the titlebar/icon title
termcapinfo xterm hs:ts=\E]0;:fs=\007:ds=\E]0;\007
# get current working directory
backtick 1 0 30 sh -c "pwd | sed -e 's|/Users/jblevins|~|;s|/home/jblevins|~|;s|/home/blevins141|~|;s|/home/blevins.141|~|'"
# use this for the hard status string
hardstatus string "%H"
# Make vim, etc, go away after closing
altscreen on