doc/example/top-priority-values/modulefiles/foo/1
raw| 1 | #%Module |
| 2 | # define a value for variable holding top priority (not overwritten by non-top priority value) |
| 3 | setenv --top TESTVAR topvalue |
| 4 | |
| 5 | # prepend a value to a path-like variable, value that stays first position |
| 6 | prepend-path --top TESTPATH topprevalue |
| 7 | |
| 8 | # append a value to a path-like variable, value that stays last position |
| 9 | append-path --top TESTPATH toppostvalue |