# start .kshenv
case "$0" in
          -sh|sh|*/sh)	modules_shell=sh ;;
       -ksh|ksh|*/ksh)	modules_shell=ksh ;;
    -bash|bash|*/bash)	modules_shell=bash ;;
esac
@VERSIONING@eval "module() { eval `@BASEPREFIX@/Modules/\$MODULE_VERSION/bin/modulecmd $modules_shell $*`; }"
@NOTVERSIONING@eval "module() { eval `@bindir@/modulecmd $modules_shell $*`; }"

unset modules_shell

# end .kshenv
