Use of '^' character to redirect stderr has been deprecated starting
Fish version 3.1. It now produces an error. Stderr should be redirected
with '2>' like on SH shells. Hopefully '2>' redirection is also
supported on old Fish versions (all version 2 support it).
This update was performed on modulecmd.tcl with 711c901 commit, but fish
initialization script was forgotten at that time.
Add description to the diff doc to get the behavior of Modules v3 back
when using `module load` command in modulefile. To pursue evaluation
even when the `module load` fails, enclose it within a `catch` Tcl
command.
Fixes#197.
Introduce the `try-load` sub-command that could also be aliased
`try-add`. try-load attempts to load modulefile(s) but does not raise
error (message or code) if module(s) cannot be found (does not exist or
forbidden).
Error is still raised if an evaluation error occurs.
The `try_modulefile` internal state is added to transmit the information
that the load (or unload when load is proccessed during an unload
evaluation) is performed in *try* mode or not.
Fixes#392
Remove code branches in the parseModuleSpecificationProcAdvVersSpec
procedure that are never reached due to the code refactoring done for
boolean variant and variant shortcut.
When saving collection, do not use variant shortcut to produce the
module designation to save in collection files, as shortcuts are a
configuration that could evolve over time.
Add the '5' report mode in getVariantList procedure to avoid defined
shortcuts when producing module designation.
Use a single global array '::g_used_va' to track usage of the different
variant report form (var=val, +var, ...).
Use the {variant=value} syntax to explain enabled or disabled boolean
variant in display key: {+variant}={variant=on}.
As a consequence of last point, '{variant=value}' is added to display
key to explain the {variant=on} or {variant=off} part of boolean variant
key entry.