blob: 8835f3d74e004c411670c2e25166f0297a2bf024 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
|