- Add an example global rc file in
contrib/etc
directory that ensuresMODULEPATH
is always defined. - Check
HOME
environment variable is defined onsavelist
andis-saved
commands or raise error if not. - Fix saving of deep module default version in collection when version pinning is disabled: if
foo/bar/version
is 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
puts
command not related tostderr
orstdout
channels in calling modulefile context to correctly get access to the targeted file channel. (fix issue#157) - Quote
autoinit
result 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
,LOADEDMODULES
or_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
LOADEDMODULES
and the_LMFILES_
environment variables. Error raised onload
,unload
,switch
,reload
,purge
,list
,save
andrestore
commands. May affectinfo-loaded
oris-loaded
commands if module passed as argument to these command is specified as a full path modulefile. - Fix
list
command to process loaded modules information before performing any content output. - Install: adapt
configure
script and Makefiles to support installation on Cygwin system. - Detect terminal width on Windows
cmd
terminal withmode
command. - Improve Windows
cmd
shell 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
,display
orunload
. - Raise error when an empty collection name is passed to module sub-commands like
save
,saveshow
orrestore
. - Raise error when an empty path is passed to module
unuse
sub-command, like already done onuse
sub-command. - Clear argument list if an empty module command name is passed.
- Fix
module
function definition for all shells inautoinit
command to correctly handle empty-string parameters or parameters containing white-spaces, quotes, escape characters. - Fix
module
function definition for Python to accept being called with no argument. - Fix parameter expansion on
module
function for all SH-kind shells when quarantine mode is activated. - Escape
\
character when producing R shell code.