diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2014-01-29 15:30:50 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2014-01-29 15:30:50 -0500 |
commit | a963e36939ca85afcdaebcc82b69e723f55a2a5f (patch) | |
tree | a5d5084f033ec82cad9f71e8d37e32b84bd400d2 | |
parent | 45f66ed71b0a0e15b3afcfccd2eca96fca751070 (diff) | |
download | multihome-a963e36939ca85afcdaebcc82b69e723f55a2a5f.tar.gz |
Initial commit
-rw-r--r-- | README | 31 |
1 files changed, 31 insertions, 0 deletions
@@ -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 + |