Skip to content

Instantly share code, notes, and snippets.

@ambakshi
Created Apr 30, 2014
Embed
What would you like to do?
screenrc
# screenrc
encoding UTF-8
# Behaviour
termcapinfo xterm ti@:te@
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' # Tell screen how to set colors. AB = background, AF=foreground
#attrcolor b ".I" # Allow bold colors - NB: This fucks up dircolors in iTerm2
defbce "on" # Erase background with current bg color
altscreen on
#term xterm-256color
#term screen-256color-bce
# Settings
defscrollback 90000
startup_message off
vbell off
# Statusline
hardstatus on
hardstatus alwayslastline
hardstatus string '%{= k}[ %{G}%H %{g}][%= %{=kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B}%Y-%m-%d %{W}%c %{g}]'
# Default screens, C-a :number <id> renumbers it
#screen -t rootsh sudo su -
#number 0
#screen -t ipython ipython
#number 9
screen -t bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment