aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README31
1 files changed, 31 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..8835f3d
--- /dev/null
+++ b/README
@@ -0,0 +1,31 @@
+1. Put multihome in your path
+2. Depending on your shell, put the following at the top of its initialization
+file.
+
+CSH (.cshrc):
+
+if ( -f ~/bin/multihome ) then
+ # Destroy environment
+ env -i
+ # Resassign HOME
+ eval `~/bin/multihome`
+ if ( -d $HOME ) then
+ cd $HOME
+ endif
+ source ~/.cshrc
+endif
+
+
+BASH (.bash_profile):
+
+if [ -f ~/bin/multihome ]; then
+ # Destroy environment
+ env -i
+ # Resassign HOME
+ eval `~/bin/multihome`
+ if [ -d "$HOME" ]; then
+ cd $HOME
+ fi
+ source ~/.bash_profile
+fi
+