Skip to content

Instantly share code, notes, and snippets.

@craig-m
Created February 8, 2018 02:29
Show Gist options
  • Save craig-m/9b1eec7e0686eb5c0d5a7baec9d3492b to your computer and use it in GitHub Desktop.
Save craig-m/9b1eec7e0686eb5c0d5a7baec9d3492b to your computer and use it in GitHub Desktop.
A screenrc file. top bar for info, bottom bar for shell tabs.
# ~/.screenrc
#
# look and feel
caption always "%{= bb}%{+b w}%h ${USER}@%H %= %c %{=b rw} %l %{= db}%{= dg}"
hardstatus alwayslastline "%-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%<"
#
# skip the startup message
startup_message off
#
# go to home dir
chdir
#
# Automatically detach on hangup.
autodetach on
#
# Change default scrollback value for new windows
defscrollback 10000
#
# start with visual bell as default
vbell on
vbell_msg "bell on %t (%n)"
#
activity "Activity in %t(%n)"
#
shelltitle "shell"
shell -$SHELL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment