- Add an example global rc file in
contrib/etcdirectory that ensuresMODULEPATHis always defined. - Check
HOMEenvironment variable is defined onsavelistandis-savedcommands or raise error if not. - Fix saving of deep module default version in collection when version pinning is disabled: if
foo/bar/versionis default version forfoo, collection will retain justfoo(was retainingfoo/bar). - Enable to save and restore collections containing full path modulefiles eventually with no modulepath defined.
- Run
putscommand not related tostderrorstdoutchannels in calling modulefile context to correctly get access to the targeted file channel. (fix issue#157) - Quote
autoinitresult for eval interpretation on SH-kind shells to avoid parameter expansion to randomly occur on generated code depending on file or directory names of current working directory. (fix RH bug#1549664) - Ignore empty elements found in
MODULEPATH,LOADEDMODULESor_LMFILES_to ensure all elements in these variables are non-empty strings. - Raise error if loaded environment is in an inconsistent state when calling commands requiring correlation of information from the
LOADEDMODULESand the_LMFILES_environment variables. Error raised onload,unload,switch,reload,purge,list,saveandrestorecommands. May affectinfo-loadedoris-loadedcommands if module passed as argument to these command is specified as a full path modulefile. - Fix
listcommand to process loaded modules information before performing any content output. - Install: adapt
configurescript and Makefiles to support installation on Cygwin system. - Detect terminal width on Windows
cmdterminal withmodecommand. - Improve Windows
cmdshell support: error code returned, echoing text, shell alias creation and removal, working directory change. - Raise error when an empty module name is passed to module sub-commands like
load,displayorunload. - Raise error when an empty collection name is passed to module sub-commands like
save,saveshoworrestore. - Raise error when an empty path is passed to module
unusesub-command, like already done onusesub-command. - Clear argument list if an empty module command name is passed.
- Fix
modulefunction definition for all shells inautoinitcommand to correctly handle empty-string parameters or parameters containing white-spaces, quotes, escape characters. - Fix
modulefunction definition for Python to accept being called with no argument. - Fix parameter expansion on
modulefunction for all SH-kind shells when quarantine mode is activated. - Escape
\character when producing R shell code.