2 # Initialization of environment modules for ksh/bash shells.
5 MODULEHOME
=/usr
/lib
/Modules
/latest
9 .
${MODULEHOME}/init
/sh
12 .
${MODULEHOME}/init
/ksh
15 .
${MODULEHOME}/init
/zsh
18 .
${MODULEHOME}/init
/bash
21 .
${MODULEHOME}/init
/sh
25 # Allow adding modules list in .modules
26 if [ -r $HOME/.modules
]; then
30 # Prepend user module path automatically
31 if [ -d $HOME/modules
]; then
32 MODULEPATH
=$HOME/modules
:$MODULEPATH