Skip to content

Instantly share code, notes, and snippets.

@textarcana
Forked from sd/gist:396751
Created May 11, 2010 11:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save textarcana/397209 to your computer and use it in GitHub Desktop.
Save textarcana/397209 to your computer and use it in GitHub Desktop.
.screenrc
# rebind C-a to C-l
escape ^Ll
log on
autodetach on
defutf8 on
defscrollback 1000
startup_message off
screen -t home
screen -t ruby irb
select 0
windows
# note you can reload .screenrc with
# C-a : source $HOME/.screenrc
if [ "$SSH_TTY" ]; then
# If this is a remote session, then start screen
if [ "$TERM" != "screen" ]; then
screen -xRRU
if [ "$?" = "0" ]; then
reset
exit
fi
fi
fi
autodetach on
caption always '%t %= %C %a'
defutf8 on
defscrollback 1000
hardstatus alwayslastline "%w"
startup_message off
screen -t console
screen -t hudson sudo su - builder
screen -t shell
select 1
windows
# note you can reload .screenrc with
# C-a : source $HOME/.screenrc
# rebind C-a to C-l
escape ^Ll
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment