Created
May 13, 2013 08:41
-
-
Save andrewwheal/5566972 to your computer and use it in GitHub Desktop.
A basic .screenrc config file
This file contains hidden or 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
# Initial screens | |
screen -t eg 0 ssh user@host -t 'cd /file/path;bash' | |
screen -t ssh 9 | |
# Hardstatus... duh | |
hardstatus on | |
hardstatus alwayslastline | |
hardstatus string '%{= kG}%{=kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%{g}' | |
# Autodetach session on hangup instead of terminating screen completely | |
autodetach on | |
# allow normal scroll back in Putty | |
termcapinfo xterm ti@:te@ | |
# fix nano bug | |
altscreen on | |
# show current working directory in status bar | |
caption always "%h" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment