nushell/crates
YizhePKU 52d99cc60c
Change environment variables to be case-preserving (#12701)
This PR changes `$env` to be **case-preserving** instead of
case-sensitive. That is, it preserves the case of the environment
variable when it is first assigned, but subsequent retrieval and update
ignores the case.

Notably, both `$env.PATH` and `$env.Path` can now be used to read or set
the environment variable, but child processes will always see the
correct case based on the platform.

Fixes #11268.

---

This feature was surprising simple to implement, because most of the
infrastructure to support case-insensitive cell path access already
exists. The `get` command extracts data using a cell path in a
case-insensitive way (!), but accepts a `--sensitive` flag. (I think
this should be flipped around?)
2024-05-01 17:22:34 -05:00
..
nu_plugin_custom_values Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
nu_plugin_example Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
nu_plugin_formats Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
nu_plugin_gstat Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
nu_plugin_inc Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
nu_plugin_nu_example Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
nu_plugin_polars Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
nu_plugin_python Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
nu_plugin_query Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
nu_plugin_stress_internals Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
nu-cli Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
nu-cmd-base Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
nu-cmd-dataframe Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
nu-cmd-extra Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
nu-cmd-lang Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
nu-cmd-plugin Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
nu-color-config Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
nu-command Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
nu-engine Change environment variables to be case-preserving (#12701) 2024-05-01 17:22:34 -05:00
nu-explore Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
nu-glob Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
nu-json Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
nu-lsp Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
nu-parser Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
nu-path Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
nu-plugin Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
nu-plugin-core Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
nu-plugin-engine Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
nu-plugin-protocol Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
nu-plugin-test-support Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
nu-pretty-hex Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
nu-protocol Change environment variables to be case-preserving (#12701) 2024-05-01 17:22:34 -05:00
nu-std Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
nu-system Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
nu-table Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
nu-term-grid Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
nu-test-support Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
nu-utils Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
nuon Bump version to 0.93.1 (#12710) 2024-05-01 17:19:20 -05:00
README.md Remove old nushell/merge engine-q 2022-02-07 14:54:06 -05:00

Nushell core libraries and plugins

These sub-crates form both the foundation for Nu and a set of plugins which extend Nu with additional functionality.

Foundational libraries are split into two kinds of crates:

  • Core crates - those crates that work together to build the Nushell language engine
  • Support crates - a set of crates that support the engine with additional features like JSON support, ANSI support, and more.

Plugins are likewise also split into two types:

  • Core plugins - plugins that provide part of the default experience of Nu, including access to the system properties, processes, and web-connectivity features.
  • Extra plugins - these plugins run a wide range of different capabilities like working with different file types, charting, viewing binary data, and more.