Skip to content

Instantly share code, notes, and snippets.

@H6
Forked from nicerobot/.screenrc
Created February 9, 2016 20:32
Show Gist options
  • Save H6/96e457c6129d47fa3874 to your computer and use it in GitHub Desktop.
Save H6/96e457c6129d47fa3874 to your computer and use it in GitHub Desktop.
.screenrc with "tabs" using hardstatus and caption options
# look and feel
caption always "%{= bb}%{+b w}%h %=%{=b rw} %l %{= db} ${USER}@%H %{= dg}%c"
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