mirror of
https://github.com/nushell/nushell.git
synced 2024-11-26 02:13:47 +01:00
remove the last mention to let-env
(#10718)
# Description
just caught a last mention to `let-env` in the `CONTRIBUTING.md`
document 😋
# User-Facing Changes
# Tests + Formatting
# After Submitting
This commit is contained in:
parent
4171c654a5
commit
ed8dee04b6
@ -118,7 +118,7 @@ is described below:
|
|||||||
Use `export def` to make these names public to your users.
|
Use `export def` to make these names public to your users.
|
||||||
* If your command is updating environment variables, you must use
|
* If your command is updating environment variables, you must use
|
||||||
`export def --env` (instead of `export def`) to define the subcommand,
|
`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
|
update them. For an example of a custom command which modifies
|
||||||
environment variables, see: `./crates/nu-std/lib/dirs.nu`.
|
environment variables, see: `./crates/nu-std/lib/dirs.nu`.
|
||||||
For an example of a custom command which does *not* modify environment
|
For an example of a custom command which does *not* modify environment
|
||||||
|
Loading…
Reference in New Issue
Block a user