mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-07-05 21:30:49 +02:00
Merge branch '285-modulecmd-don-t-show-modulepath-of-modules-not-in-the-pmodules-hierarchy' into 'master'
Resolve "modulecmd: don't show modulepath of modules not in the Pmodules hierarchy" Closes #285 See merge request Pmodules/src!263
This commit is contained in:
@@ -2104,8 +2104,8 @@ subcommand_list() {
|
||||
|
||||
human_readable_output(){
|
||||
# get list of loaded modules with stripped MODULEPATH
|
||||
IFS=':' read -r -a modules <<< "${LOADEDMODULES}"
|
||||
|
||||
IFS=':' read -r -a modules \
|
||||
< <( ${sed} "s;${MODULEPATH//:/\/\\\|}/;;g" <<< "${_LMFILES_}" )
|
||||
local strs=()
|
||||
local -i n=1
|
||||
local -i colsize=0
|
||||
|
||||
Reference in New Issue
Block a user