mirror of
https://github.com/envmodules/modules.git
synced 2026-06-10 00:56:30 +08:00
Introduce the ability not to set the shell startup file that ensure ``module`` command is defined once shell has been initialized. Setting shell startup file currently means defining ``ENV`` and ``BASH_ENV`` environment variable to the Modules bourne shell initialization script. ``./configure`` options ``--enable-set-shell-startup`` and ``--disable-set-shell-startup`` define if shell startup should be set or not by default. It could be superseded with the ``MODULES_SET_SHELL_STARTUP`` environment variable, that could be set with ``config`` module sub-command through the ``set_shell_startup`` option.