mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-27 18:13:08 +02:00
bugs in initialization of PATH fixed in modulecmd.bash.in
- prepend Pmodules bin directory to PATH - export MANPATH
This commit is contained in:
@@ -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