mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-11-12 17:23:52 +01:00
bugs in initialization of PATH fixed in modulecmd.bash.in
- prepend Pmodules bin directory to PATH - export MANPATH
This commit is contained in:
1 parent
2c92aa659d
commit
6ef4dd3667
1 file changed
+3
-2
@@ -1410,7 +1410,7 @@ subcommand_list() {
|
||||
|
||||
init_path() {
|
||||
std::replace_path PATH "${PMODULES_HOME%/*}/.*"
|
||||
std::append_path PATH "${PMODULES_HOME}/bin"
|
||||
std::prepend_path PATH "${PMODULES_HOME}/bin"
|
||||
}
|
||||
|
||||
init_manpath() {
|
||||
@@ -1450,7 +1450,8 @@ pmodules_init() {
|
||||
LOADEDMODULES \
|
||||
_LMFILES_ \
|
||||
MODULEPATH \
|
||||
PATH
|
||||
PATH \
|
||||
MANPATH
|
||||
}
|
||||
|
||||
##############################################################################
|
||||
|
||||
Reference in new issue
Block a user