Skip to content

Instantly share code, notes, and snippets.

@danetrata
danetrata / .screenrc
Last active August 8, 2017 03:38 — forked from joaopizani/.screenrc
A killer GNU Screen Config
# the following two lines give a two-line status, with the current window highlighted
hardstatus alwayslastline
hardstatus string '%{= kG}[%{G}%H%? %1`%?%{g}][%= %{= kw}%-w%{+b yk} %n*%t%?(%u)%? %{-}%+w %=%{g}][%{B}%m/%d %{W}%C%A%{g}]'
escape `
# huge scrollback buffer
defscrollback 5000
# no welcome message
n = 4
p = [lambda x: x**2 for _ in range(n)]
for i, pc in enumerate(p):
print pc(i)