From a963e36939ca85afcdaebcc82b69e723f55a2a5f Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 29 Jan 2014 15:30:50 -0500 Subject: Initial commit --- README | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 README 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 + -- cgit