aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2014-01-29 15:30:50 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2014-01-29 15:30:50 -0500
commita963e36939ca85afcdaebcc82b69e723f55a2a5f (patch)
treea5d5084f033ec82cad9f71e8d37e32b84bd400d2 /README
parent45f66ed71b0a0e15b3afcfccd2eca96fca751070 (diff)
downloadmultihome-a963e36939ca85afcdaebcc82b69e723f55a2a5f.tar.gz
Initial commit
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
+