hacks/ssh: Add new hack for setting up background SSH master connections.
[profile] / setup
diff --git a/setup b/setup
index 499841e..5e55c9b 100755 (executable)
--- a/setup
+++ b/setup
@@ -129,7 +129,7 @@ fi
 ## Symlink the various dotfiles into place
 dotfiles="
   bash_profile bash_logout bashrc inputrc bash_completion
-  emacs emacs-calc vm gnus.el
+  emacs emacs-calc vm gnus.el ercrc.el
   vimrc mg zile
   mailrc signature
   cgrc tigrc
@@ -248,6 +248,19 @@ for s in $scripts; do
 done
 echo " all done."
 
+hacks="
+  ssh:ssh"
+echo "Installing hacks..."
+for h in $hacks; do
+  d=${h%%:*} h=${h#*:}
+  ft=$HOME$sub/bin/hacks/$d
+  mkdir -p $ft
+  ln -s $here/hacks/$h $ft/$h.new
+  mv $ft/$h.new $ft/$h
+  echo "  $d:$h"
+done
+echo " all done."
+
 ###--------------------------------------------------------------------------
 ### Set up the Emacs config.