Skip to content

Instantly share code, notes, and snippets.

@cmizony
Created September 6, 2015 04:12
Show Gist options
  • Save cmizony/77e5e70c9df135d9c6c9 to your computer and use it in GitHub Desktop.
Save cmizony/77e5e70c9df135d9c6c9 to your computer and use it in GitHub Desktop.
# ____ __ __ ___ ________ _ ___ __ ____
# / ___| \/ |_ _|__ / _ \| \ | \ \ / / / ___| ___ _ __ ___ ___ _ __ _ __ ___
#| | | |\/| || | / / | | | \| |\ V / _____ \___ \ / __| '__/ _ \/ _ \ '_ \| '__/ __|
#| |___| | | || | / /| |_| | |\ | | | |_____| _ ___) | (__| | | __/ __/ | | | | | (__
# \____|_| |_|___/____\___/|_| \_| |_| (_)____/ \___|_| \___|\___|_| |_|_| \___|
startup_message off
# Window list at the bottom.
hardstatus alwayslastline
hardstatus string "%-w%{= BW}%50>%n %t%{-}%+w%<"
# From Stephen Shirley
# Don't block command output if the terminal stops responding
# (like if the ssh connection times out for example).
nonblock on
# Allow editors etc. to restore display on exit
# rather than leaving existing text in place
altscreen on
# Enable 256-color mode when screen is started with TERM=xterm-256color
# Taken from: http://frexx.de/xterm-256-notes/
#
# Note that TERM != "xterm-256color" within a screen window. Rather it is
# "screen" or "screen-bce"
#
# terminfo and termcap for nice 256 color terminal
# allow bold colors - necessary for some reason
attrcolor b ".I"
# tell screen how to set colors. AB = background, AF=foreground
#termcapinfo xterm-256color 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment