Skip to content

Instantly share code, notes, and snippets.

@aespinosa
Last active October 13, 2015 00:27
Show Gist options
  • Save aespinosa/4110273 to your computer and use it in GitHub Desktop.
Save aespinosa/4110273 to your computer and use it in GitHub Desktop.
personal .screenrc
shell -$SHELL
#shelltitle 'sometitle'
defscrollback 100000
# Remove some stupid / dangerous key bindings
bind .
bind ^\
bind \\
bind ^h
bind h
bind k focus up
bind j focus down
bind h focus left
bind l focus right
#make them better
bind I login on
bind O login off
bind } history
#caption always "%{=b dw}:%{-b dw}:%{=b dk}[ %{-b dw}%{-b dg}$USER%{-b dw}@%{-b dg}%H %{=b dk}] [ %= %?%{-b dg}%-Lw%?%{+b dk}(%{+b dw}%n:%t%{+b dk})%?(%u)%?%{-b dw}%?%{-b dg}%+Lw%? %{=b dk}]%{-b dw}:%{+b dw}:"
#caption always "%{= kB}%-Lw%{=s kB}%50>%n%f* %t %{-}%+Lw%<"
#caption always "%{.bw}%-w%{.rw}%n %t%{-}%+w %-18=%{..y}%D %d-%M %c"
caption always "%n %t"
#hardstatus alwayslastline "%H %{+b dw}:%{-b dw}:%{+b dk}[%{-b dg} %0C:%s%a %{=b dk}]-[ %{-b dw}Load%{+b dk}:%{-b dg}%l %{+b dk}] [%{-b dg}%2`%{+b dk}] %=[ %{-b dg}%1`%{=b dk} ]%{-b dw}:%{+b dw}:%<"
hardstatus alwayslastline "%{=b mw}%S %{-} :: Time: %D %Y-%M-%d %0C%a :: "
#hardstatus alwayslastline "%-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%<"
startup_message off
#hardstatus off
#attrcolor b ".I"
#termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
#defbce "on"
#term "screen-256color"
# SSH fix
unsetenv SSH_AUTH_SOCK
#setenv SSH_AUTH_SOCK "$HOME/.screen/ssh-auth-sock.$HOST"
setenv SSH_AUTH_SOCK "$HOME/.screen/ssh-auth-sock"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment