Most projects out there have a bunch of shell scripts lying around.
Questions arise as to where to define scripts and how to provide the tooling to make sure they work for all developers.
A simple example defining
- See Packages for an explanation.
Since scripts are exposed when we enter the environment, we can rely on
packages executables being available.
Pinning packages inside scripts
Sometimes we don't want to expose the tools to the shell but still make sure they are pinned in a script:
When a package is interpolated in a string, you're referring to the path where it is located.