nushell/crates
Jakub Žádník 6a0f404558
Treating environment variables as Values (#497)
* Proof of concept treating env vars as Values

* Refactor env var collection and method name

* Remove unnecessary pub

* Move env translations into a new file

* Fix LS_COLORS to support any Value

* Fix spans during env var translation

* Add span to env var in cd

* Improve error diagnostics

* Fix non-string env vars failing string conversion

* Make PROMPT_COMMAND a Block instead of String

* Record host env vars to a fake file

This will give spans to env vars that would otherwise be without one.
Makes errors less confusing.

* Add 'env' command to list env vars

It will list also their values translated to strings

* Sort env command by name; Add env var type

* Remove obsolete test
2021-12-17 12:04:54 +11:00
..
nu_plugin_example Plugin json (#474) 2021-12-12 11:50:35 +00:00
nu_plugin_gstat Plugin json (#474) 2021-12-12 11:50:35 +00:00
nu_plugin_inc Plugin json (#474) 2021-12-12 11:50:35 +00:00
nu-ansi-term add coloring by primitive, bring in nu-ansi-term crate (#353) 2021-11-20 07:12:35 -06:00
nu-cli Treating environment variables as Values (#497) 2021-12-17 12:04:54 +11:00
nu-color-config allow flatshape (command line syntax) theming (#502) 2021-12-16 06:17:29 -06:00
nu-command Treating environment variables as Values (#497) 2021-12-17 12:04:54 +11:00
nu-engine Treating environment variables as Values (#497) 2021-12-17 12:04:54 +11:00
nu-json Add 'to json' 2021-10-29 19:26:29 +13:00
nu-parser allow flatshape (command line syntax) theming (#502) 2021-12-16 06:17:29 -06:00
nu-path Add config file loading 2021-10-13 16:57:05 +13:00
nu-plugin Plugin json (#474) 2021-12-12 11:50:35 +00:00
nu-protocol Treating environment variables as Values (#497) 2021-12-17 12:04:54 +11:00
nu-table allow flatshape (command line syntax) theming (#502) 2021-12-16 06:17:29 -06:00
nu-term-grid clean up some todo comments in grid 2021-10-14 08:03:20 -05:00