Skip to content

Instantly share code, notes, and snippets.

@jsha
Created April 4, 2016 22:18
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 jsha/67c94b203fed11f246c5c3d92c1da85e to your computer and use it in GitHub Desktop.
Save jsha/67c94b203fed11f246c5c3d92c1da85e to your computer and use it in GitHub Desktop.
# ~/.screenrc
# Jacob Hoffman-Andrews
# 1998-08-10
# ensure bash is started rather than what's in /etc/passwd
shell -bash
# use fun messages
nethack on
# turn off annoying startup message
startup_message off
# use bold rather than inverse
#sorendition 04 99
# I like a lot of scrollback :)
defscrollback 10000
# It's good to have a way out...
bind ^v mapdefault
bind , exec /home/jsha/bin/paste-to-screen-from-clipboard
#bind . eval "writebuf" "exec /home/jsha/bin/set-clipboard-from-file /tmp/screen-exchange"
bindkey -m > eval "stuff ' '" writebuf "exec sh -c 'xsel -n < /tmp/screen-exchange'"
# without this, all windows tend to be named 'bash'
# see also ~/.profile: the setting for PS1 includes
# some special code to allow automatic title-setting to work.
shelltitle '$ |bash'
# login by default
#deflogin on
# don't wait 5 seconds to clear messages
msgwait 1
# visual bells can be annoying, particularly in xterms
vbell off
vbellwait 0.1
# when something beeps in another window, I generally want to hear it.
#bell_msg "Bell in window %n^G"
bell_msg "Bell in window %n"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment