nushell/crates/nu-command/src/filesystem
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
..
cd.rs Treating environment variables as Values (#497) 2021-12-17 12:04:54 +11:00
cp.rs Improved labeled error from plugins (#437) 2021-12-05 16:11:19 +13:00
ls.rs Improved labeled error from plugins (#437) 2021-12-05 16:11:19 +13:00
mkdir.rs Category option for signature (#343) 2021-11-17 17:22:37 +13:00
mod.rs clean up filesystem by moving get_interactive_confirmation into util.rs 2021-10-23 10:57:45 -07:00
mv.rs Improved labeled error from plugins (#437) 2021-12-05 16:11:19 +13:00
rm.rs Update clippy to check all features (#441) 2021-12-06 07:23:43 +13:00
touch.rs Category option for signature (#343) 2021-11-17 17:22:37 +13:00
util.rs clean up filesystem by moving get_interactive_confirmation into util.rs 2021-10-23 10:57:45 -07:00