Remix.run Logo
wavemode an hour ago

Well, you can "source" a script, so its effects persist in your current shell session. That's a feature of the script and your shell sharing the same language.

zbentley 11 minutes ago | parent [-]

Sure, but “shell scripts” as an (admittedly imprecise) term usually imply separate executable files, not shell libraries/functions that are sourced.