The attached patch fixes the problem for me. // Erik
-- Fatal error! Hit any user to continue... Erik Johansson http://ejohansson.se
--- _module.ORG 2007-03-31 17:47:42.000000000 +0200 +++ _module 2007-03-31 17:55:08.000000000 +0200 @@ -83,7 +83,7 @@ # Fills the available modules cache _module_available_modules() { - if (( [[ -n "$MODULEPATH" ]] && [[ ${+_available_modules} -eq 0 ]] )); + if (( [[ -n $MODULEPATH ]] && [[ ${+_available_modules} -eq 0 ]] )); then _available_modules=($(find ${(e)=MODULEPATH//:/ } -xtype f -print 2>/dev/null | grep -v \.version | sed -e 's,\('${${(e)=MODULEPATH//:/\/\\\|}%\\\|}'\),,g' -e 's,^/*,,g')) fi