#!/bin/bash
# must have fuser and bindfs installed
module-load () {
BASH_MODULES="${BASH_MODULES:-/opt/bash/modules}"
MODULES=$1
echo $MODULES
for i in ${MODULES[@]}; do
echo $BASH_MODULES ${i}
. "$BASH_MODULES"/"$i".sh
done
}