export(1posix) RSNT_LOCAL_MODULEPATHS=/opt/software/easybuild/modules
set the export attribute for variables
source manpages: export