Created
April 30, 2014 21:24
-
-
Save ambakshi/643e1ba25fc730f72665 to your computer and use it in GitHub Desktop.
screenrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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