diff --git a/crates/nu-std/CONTRIBUTING.md b/crates/nu-std/CONTRIBUTING.md index f03f664c16..9108956a76 100644 --- a/crates/nu-std/CONTRIBUTING.md +++ b/crates/nu-std/CONTRIBUTING.md @@ -118,7 +118,7 @@ is described below: Use `export def` to make these names public to your users. * If your command is updating environment variables, you must use `export def --env` (instead of `export def`) to define the subcommand, - `export-env {}` to initialize the environment variables and `let-env` to + `export-env {}` to initialize the environment variables and `$env.VAR = val` to update them. For an example of a custom command which modifies environment variables, see: `./crates/nu-std/lib/dirs.nu`. For an example of a custom command which does *not* modify environment