do not add the Pmodules bin directory to PATH

This commit is contained in:
Achim Gsell
2021-03-12 11:51:49 +01:00
parent 68f34e1247
commit 0689b04259
3 changed files with 0 additions and 7 deletions
-2
View File
@@ -35,8 +35,6 @@ unset MODULE_VERSION_STACK
unset MODULESHOME
unset PMODULES_ENV
PATH="${PMODULES_HOME}/bin:$PATH"
#############################################################################
# implement module comand as shell function
#
-1
View File
@@ -47,4 +47,3 @@ if (! $?LOADEDMODULES ) then
setenv LOADEDMODULES ""
endif
setenv PATH "${PMODULES_HOME}/bin:${PATH}"
-4
View File
@@ -89,10 +89,6 @@ unset PMODULES_DEFAULT_RELEASES
unset PMODULES_DEFAULT_GROUPS
unset PMODULES_DEFINED_RELEASES
# setup PATH
dirs_to_remove="${PMODULES_HOME%/*}/*"
path=( ${(m)path:#${dirs_to_remove}} "${PMODULES_HOME}/bin" )
# initialize MANPATH with output of `man --path` if not set
[[ -z "${MANPATH}" ]] && manpath=$( man --path )