chiark / gitweb /
hacks/ssh: Add new hack for setting up background SSH master connections.
[profile] / setup
diff --git a/setup b/setup
index 76b95dbaaa8f8e00e8c21ed8c00a9b314639a194..5e55c9b22f7df7868ea43d3e3202ea4948ca00f7 100755 (executable)
--- a/setup
+++ b/setup
@@ -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.