If you have a ~/.hosts file, export HOSTALIASES to use it.
authorW. Trevor King <wking@drexel.edu>
Thu, 1 Dec 2011 18:03:12 +0000 (13:03 -0500)
committerW. Trevor King <wking@drexel.edu>
Thu, 1 Dec 2011 18:03:12 +0000 (13:03 -0500)
src/.bashrc.d/00environment

index e5fcd6c1684728689fca9d3d265abd505967855c..20a71d86d2991e1705534c7e2e8326a0e8c1bbb9 100644 (file)
@@ -2,4 +2,9 @@
 export EDITOR="/usr/bin/emacs -nw"
 export PAGER="less"
 
+# per-user host aliases.  See hostname(7)
+if [ -f ~/.hosts ]; then
+       export HOSTALIASES=~/.hosts
+fi
+
 export MONKEYSPHERE_CHECK_KEYSERVER=false