nushell/crates
Leonhard Kipp c42b588782
Refactor nu-cli/env* (#3041)
* Revert "History, more test coverage improvements, and refactorings. (#3217)"

This reverts commit 8fc8fc89aa.

* Add tests

* Refactor .nu-env

* Change logic of Config write to logic of read()

* Fix reload always appends to old vars

* Fix reload always takes last_modified of global config

* Add reload_config in evaluation context

* Reload config after writing to it in cfg set / cfg set_into

* Add --no-history to cli options

* Use --no-history in tests

* Add comment about maybe_print_errors

* Get ctrl_exit var from context.global_config

* Use context.global_config in command "config"

* Add Readme in engine how env vars are now handled

* Update docs from autoenv command

* Move history_path from engine to nu_data

* Move load history out of if

* No let before return

* Add import for indexmap
2021-03-31 18:52:34 +13:00
..
nu-ansi-term Bump to 0.29 (#3230) 2021-03-30 22:35:21 +13:00
nu-cli Refactor nu-cli/env* (#3041) 2021-03-31 18:52:34 +13:00
nu-command Refactor nu-cli/env* (#3041) 2021-03-31 18:52:34 +13:00
nu-data Refactor nu-cli/env* (#3041) 2021-03-31 18:52:34 +13:00
nu-engine Refactor nu-cli/env* (#3041) 2021-03-31 18:52:34 +13:00
nu-errors Bump to 0.29 (#3230) 2021-03-30 22:35:21 +13:00
nu-json Bump to 0.29 (#3230) 2021-03-30 22:35:21 +13:00
nu-parser Bump to 0.29 (#3230) 2021-03-30 22:35:21 +13:00
nu-plugin Bump to 0.29 (#3230) 2021-03-30 22:35:21 +13:00
nu-protocol Refactor nu-cli/env* (#3041) 2021-03-31 18:52:34 +13:00
nu-source Bump to 0.29 (#3230) 2021-03-30 22:35:21 +13:00
nu-stream Bump to 0.29 (#3230) 2021-03-30 22:35:21 +13:00
nu-table Bump to 0.29 (#3230) 2021-03-30 22:35:21 +13:00
nu-test-support Bump to 0.29 (#3230) 2021-03-30 22:35:21 +13:00
nu-value-ext Bump to 0.29 (#3230) 2021-03-30 22:35:21 +13:00
nu_plugin_binaryview Bump to 0.29 (#3230) 2021-03-30 22:35:21 +13:00
nu_plugin_chart Bump to 0.29 (#3230) 2021-03-30 22:35:21 +13:00
nu_plugin_fetch Bump to 0.29 (#3230) 2021-03-30 22:35:21 +13:00
nu_plugin_from_bson Bump to 0.29 (#3230) 2021-03-30 22:35:21 +13:00
nu_plugin_from_sqlite Bump to 0.29 (#3230) 2021-03-30 22:35:21 +13:00
nu_plugin_inc Bump to 0.29 (#3230) 2021-03-30 22:35:21 +13:00
nu_plugin_match Bump to 0.29 (#3230) 2021-03-30 22:35:21 +13:00
nu_plugin_post Bump to 0.29 (#3230) 2021-03-30 22:35:21 +13:00
nu_plugin_ps Bump to 0.29 (#3230) 2021-03-30 22:35:21 +13:00
nu_plugin_s3 Bump to 0.29 (#3230) 2021-03-30 22:35:21 +13:00
nu_plugin_selector Bump to 0.29 (#3230) 2021-03-30 22:35:21 +13:00
nu_plugin_start Bump to 0.29 (#3230) 2021-03-30 22:35:21 +13:00
nu_plugin_sys Bump to 0.29 (#3230) 2021-03-30 22:35:21 +13:00
nu_plugin_textview Bump to 0.29 (#3230) 2021-03-30 22:35:21 +13:00
nu_plugin_to_bson Bump to 0.29 (#3230) 2021-03-30 22:35:21 +13:00
nu_plugin_to_sqlite Bump to 0.29 (#3230) 2021-03-30 22:35:21 +13:00
nu_plugin_tree Bump to 0.29 (#3230) 2021-03-30 22:35:21 +13:00
nu_plugin_xpath Bump to 0.29 (#3230) 2021-03-30 22:35:21 +13:00