mirror of
https://github.com/envmodules/modules.git
synced 2026-06-14 00:42:43 +08:00
Update the *Source script in modulefile* cookbook recipe to add it a *Usage with shell-specific scripts* section that demonstrate how to use modulefiles with `source-sh` commands when software provide a specific initialization script for each shell it supports. Take this opportunity to improve the readability of this recipe by coloring/highlighting shell session examples. Fixes #399.
4 lines
105 B
Tcsh
4 lines
105 B
Tcsh
#!/bin/tcsh
|
|
setenv PATH "example/source-script-in-modulefile/bar-2.1/bin:$PATH"
|
|
alias bar 'barbin -q -l'
|