source-env for core

Source the environment from a source file into the current environment.

Signature

> source-env (filename)

Parameters

  • filename: the filepath to the script file to source the environment from

Examples

Sources the environment from foo.nu in the current context

> source-env foo.nu