############################################################################## # Modules Revision 3.0 # Providing a flexible user environment # # File: modules.00-init/%M% # Revision: %I% # First Edition: 95/12/06 # Last Mod.: %U%, %G% # # Authors: Jens Hamisch, Jens.Hamisch@Strawberry.COM # # Description: initialization of the shell environment # Command: # Sub-Command: # # Comment: %C{ # First time initialization: Remove everything from # environment, that depends on the module package. # Select the 'empty' modulerc file # }C% # ############################################################################## if { $verbose > 0 } { send_user "\tInitializing the modulecmd environment ..." } catch {unset env(MODULEPATH)} catch {unset env(LOADEDMODULES)} catch {unset env(_MODULESBEGINENV_)} catch {unset env(_LMFILES_)} set env(MODULERCFILE) "[pwd]/etc/empty"