From 9eb6949effaec1bac7c9bbc97263c4875fbf80ff Mon Sep 17 00:00:00 2001 From: Xavier Delaruelle Date: Wed, 3 Apr 2024 21:14:52 +0200 Subject: [PATCH] doc: desc hide_auto_loaded in NEWS/INSTALL --- INSTALL.rst | 2 ++ NEWS.rst | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/INSTALL.rst b/INSTALL.rst index 73dac893..acddc7c3 100644 --- a/INSTALL.rst +++ b/INSTALL.rst @@ -1384,6 +1384,8 @@ installation. +-----------------------------------+----------------------------------------------+----------------------------------------------+--------------+-----------+ | :mconfig:`extra_siteconfig` | *Unset by default* | :envvar:`MODULES_SITECONFIG` | | | +-----------------------------------+----------------------------------------------+----------------------------------------------+--------------+-----------+ +| :mconfig:`hide_auto_loaded` | ``0`` | :envvar:`MODULES_HIDE_AUTO_LOADED` | | | ++-----------------------------------+----------------------------------------------+----------------------------------------------+--------------+-----------+ | :mconfig:`home` | |file prefix| | :instopt:`--prefix`, | | | | | | :instopt:`--with-moduleshome`, | | | | | | :envvar:`MODULESHOME` | | | diff --git a/NEWS.rst b/NEWS.rst index 6d065e94..d3f203f1 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -32,6 +32,11 @@ Modules 5.5.0 (not yet released) support modulerc files written for Lmod. * Update :subcmd:`autoinit` sub-command to define :command:`mogui` shell function or alias if `mogui-cmd` command is found in :envvar:`PATH`. +* Add the :mconfig:`hide_auto_loaded` configuration option to tag + automatically loaded modules ``hidden-loaded``. These modules will not + appear on :subcmd:`list` sub-command output unless :option:`--all` option is + set. Option is disabled by default and when set, it defines the + :envvar:`MODULES_HIDE_AUTO_LOADED` environment variable. .. warning:: Existing *versions* modulefiles installed for Modules 4.7 and upward should be fixed by adding the ``--not-req`` option to the