initialization of Pmodules environment reviewed

- introduce new configuration file ${PMODULES_ROOT}/config/Pmodules.conf
- move as much as possible from profile.bash and init/bash to
  modulecmd
- expose less environment variables to the user
This commit is contained in:
2021-05-26 16:43:38 +02:00
parent 9b33e1723a
commit 85c89df9f5
4 changed files with 83 additions and 67 deletions
+5
View File
@@ -35,6 +35,11 @@ unset MODULE_VERSION_STACK
unset MODULESHOME
unset PMODULES_ENV
declare -x PMODULES_MODULEFILES_DIR='modulefiles'
declare -x PMODULES_CONFIG_DIR='config'
declare -x PMODULES_DIR="${PMODULES_HOME}"
#############################################################################
# implement module comand as shell function
#