#%Module # define a value for variable holding top priority (not overwritten by non-top priority value) setenv --top TESTVAR topvalue # prepend a value to a path-like variable, value that stays first position prepend-path --top TESTPATH topprevalue # append a value to a path-like variable, value that stays last position append-path --top TESTPATH toppostvalue