nushell/crates/nu-std/std
Douglas a9657e17ad
Add env-conversions helpers to std (#15569)
When combined with [the Cookbook
update](https://github.com/nushell/nushell.github.io/pull/1878), this
resolves #15452

# Description

When we removed the startup `ENV_CONVERSION` for path, as noted in the
issue above, we removed the ability for users to access this closure for
other purposes. This PR adds the PATH closures back as a `std` commands
that outputs a record of closures (similar to `ENV_CONVERSIONS`).

# User-Facing Changes

Doc will be updated and users can once again easily access `direnv`

# Tests + Formatting

- 🟢 `toolkit fmt`
- 🟢 `toolkit clippy`
- 🟢 `toolkit test`
- 🟢 `toolkit test stdlib`

# After Submitting

Doc PR to be merged when released in 0.104
2025-04-22 07:22:46 +08:00
..
assert Replace "function" with "command" in several user-facing doc (#15129) 2025-02-17 14:10:38 -05:00
bench allow bench to handle larger numbers (#15162) 2025-02-25 15:02:42 +01:00
config Add env-conversions helpers to std (#15569) 2025-04-22 07:22:46 +08:00
dirs feat(std/dirs): retain state in subshells or with exec-restarts (#15080) 2025-02-11 19:51:43 -05:00
dt try to fix datetime-diff for ms, us, ns (#15537) 2025-04-10 06:52:11 -05:00
formats Replace "function" with "command" in several user-facing doc (#15129) 2025-02-17 14:10:38 -05:00
help refactor: tree-sitter-nu friendly alternative expressions (#15301) 2025-03-12 08:48:19 -05:00
input Fix usages of fmt to format number (#15041) 2025-02-07 23:50:33 +01:00
iter Replace "function" with "command" in several user-facing doc (#15129) 2025-02-17 14:10:38 -05:00
log Replace "function" with "command" in several user-facing doc (#15129) 2025-02-17 14:10:38 -05:00
math Virtual std module subdirectories (#14040) 2024-10-10 06:56:37 -05:00
prelude Add category to pwd and banner commands (#15330) 2025-03-17 20:22:01 +08:00
testing Custom command attributes (#14906) 2025-02-11 06:34:51 -06:00
util Fix path add bug when given a record (#15379) 2025-03-22 08:42:20 -04:00
xml Replace "function" with "command" in several user-facing doc (#15129) 2025-02-17 14:10:38 -05:00
mod.nu Replace "function" with "command" in several user-facing doc (#15129) 2025-02-17 14:10:38 -05:00