nushell/crates
Andrés N. Robalino 7dc1d6a350
Extract .nu-env tests and more granularity (#3078)
The autoenv logic mutates environment variables in the running session as
it operates and decides what to do for trusted directories containing `.nu-env`
files. Few of the ways to interact with it were all in a single test function.

We separate out all the ways that were done in the single test function to document
 it better. This will greatly help once we start refactoring our way out from setting
 environment variables this way to just setting them to `Scope`.

This is part of an on-going effort to keep variables (`PATH` and `ENV`)
in our `Scope` and rely on it for everything related to variables.

We expect to move away from setting (`std::*`) envrironment variables in the current
running process. This is non-trivial since we need to handle cases from vars
coming in from the outside world, prioritize, and also compare to the ones
we have both stored in memory and in configuration files.

Also to send out our in-memory (in `Scope`) variables properly to external
programs once we no longer rely on `std::env` vars from the running process.
2021-02-18 20:24:27 -05:00
..
nu_plugin_binaryview Bump to 0.27.1 (#3073) 2021-02-18 18:54:48 +13:00
nu_plugin_chart Bump to 0.27.1 (#3073) 2021-02-18 18:54:48 +13:00
nu_plugin_fetch Bump to 0.27.1 (#3073) 2021-02-18 18:54:48 +13:00
nu_plugin_from_bson Bump to 0.27.1 (#3073) 2021-02-18 18:54:48 +13:00
nu_plugin_from_sqlite Bump to 0.27.1 (#3073) 2021-02-18 18:54:48 +13:00
nu_plugin_inc Bump to 0.27.1 (#3073) 2021-02-18 18:54:48 +13:00
nu_plugin_match Bump to 0.27.1 (#3073) 2021-02-18 18:54:48 +13:00
nu_plugin_post Bump to 0.27.1 (#3073) 2021-02-18 18:54:48 +13:00
nu_plugin_ps Bump to 0.27.1 (#3073) 2021-02-18 18:54:48 +13:00
nu_plugin_s3 Bump to 0.27.1 (#3073) 2021-02-18 18:54:48 +13:00
nu_plugin_selector Bump to 0.27.1 (#3073) 2021-02-18 18:54:48 +13:00
nu_plugin_start Bump to 0.27.1 (#3073) 2021-02-18 18:54:48 +13:00
nu_plugin_sys Bump to 0.27.1 (#3073) 2021-02-18 18:54:48 +13:00
nu_plugin_textview Bump to 0.27.1 (#3073) 2021-02-18 18:54:48 +13:00
nu_plugin_to_bson Bump to 0.27.1 (#3073) 2021-02-18 18:54:48 +13:00
nu_plugin_to_sqlite Bump to 0.27.1 (#3073) 2021-02-18 18:54:48 +13:00
nu_plugin_tree Bump to 0.27.1 (#3073) 2021-02-18 18:54:48 +13:00
nu_plugin_xpath Bump to 0.27.1 (#3073) 2021-02-18 18:54:48 +13:00
nu-cli Bump to 0.27.1 (#3073) 2021-02-18 18:54:48 +13:00
nu-command Extract .nu-env tests and more granularity (#3078) 2021-02-18 20:24:27 -05:00
nu-data Bump to 0.27.1 (#3073) 2021-02-18 18:54:48 +13:00
nu-engine Bump to 0.27.1 (#3073) 2021-02-18 18:54:48 +13:00
nu-errors Bump to 0.27.1 (#3073) 2021-02-18 18:54:48 +13:00
nu-json Bump to 0.27.1 (#3073) 2021-02-18 18:54:48 +13:00
nu-parser Bump to 0.27.1 (#3073) 2021-02-18 18:54:48 +13:00
nu-plugin Bump to 0.27.1 (#3073) 2021-02-18 18:54:48 +13:00
nu-protocol Bump to 0.27.1 (#3073) 2021-02-18 18:54:48 +13:00
nu-source Bump to 0.27.1 (#3073) 2021-02-18 18:54:48 +13:00
nu-stream Bump to 0.27.1 (#3073) 2021-02-18 18:54:48 +13:00
nu-table Bump to 0.27.1 (#3073) 2021-02-18 18:54:48 +13:00
nu-test-support Extract .nu-env tests and more granularity (#3078) 2021-02-18 20:24:27 -05:00
nu-value-ext Bump to 0.27.1 (#3073) 2021-02-18 18:54:48 +13:00