diff .bashrc @ 99:966c1e0b0a97

screenrc updates: * Use hostname for a switch to load a specific screenrc * screenrcs for specific hosts to make restarting them easier
author Steve Huston <huston@astro.princeton.edu>
date Wed, 18 Dec 2013 16:54:53 -0500
parents a835f8c36e93
children ef534933ab04
line wrap: on
line diff
--- a/.bashrc	Thu Sep 12 07:50:24 2013 -0400
+++ b/.bashrc	Wed Dec 18 16:54:53 2013 -0500
@@ -33,6 +33,10 @@
 export GEM_HOME=$HOME/Installs/rubygems/gems
 export HOST=`hostname -s`
 
+if [ -f $HOME/.screenrcs/$HOST ]; then
+  export SCREENRC=$HOME/.screenrcs/$HOST
+fi
+
 # If this is an xterm set the title to user@host:dir
 case $TERM in
   xterm*|rxvt*)