nushell/crates/nu-engine/src
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
..
env Refactor nu-cli/env* (#3041) 2021-03-31 18:52:34 +13:00
evaluate Refactor nu-cli/env* (#3041) 2021-03-31 18:52:34 +13:00
filesystem Refactor nu-cli/env* (#3041) 2021-03-31 18:52:34 +13:00
plugin remove warnings (#3137) 2021-03-06 14:31:22 -06:00
shell Refactor nu-cli/env* (#3041) 2021-03-31 18:52:34 +13:00
basic_evaluation_context.rs Refactor nu-cli/env* (#3041) 2021-03-31 18:52:34 +13:00
basic_shell_manager.rs Refactor nu-cli/env* (#3041) 2021-03-31 18:52:34 +13:00
call_info.rs Split nu-cli into nu-cli/nu-engine (#2898) 2021-01-10 15:50:49 +13:00
command_args.rs Refactor nu-cli/env* (#3041) 2021-03-31 18:52:34 +13:00
config_holder.rs Refactor nu-cli/env* (#3041) 2021-03-31 18:52:34 +13:00
deserializer.rs nu-engine: deserialize_struct: fix missing conversion from string to column path (#3048) 2021-02-13 09:29:38 +13:00
documentation.rs Allow composing help message from two parts (#3124) 2021-03-08 12:57:58 +13:00
evaluation_context.rs Refactor nu-cli/env* (#3041) 2021-03-31 18:52:34 +13:00
example.rs Split nu-cli into nu-cli/nu-engine (#2898) 2021-01-10 15:50:49 +13:00
lib.rs Refactor nu-cli/env* (#3041) 2021-03-31 18:52:34 +13:00
maybe_text_codec.rs Split nu-cli into nu-cli/nu-engine (#2898) 2021-01-10 15:50:49 +13:00
print.rs Refactor nu-cli/env* (#3041) 2021-03-31 18:52:34 +13:00
runnable_context.rs Refactor nu-cli/env* (#3041) 2021-03-31 18:52:34 +13:00
script.rs Refactor nu-cli/env* (#3041) 2021-03-31 18:52:34 +13:00
whole_stream_command.rs Allow composing help message from two parts (#3124) 2021-03-08 12:57:58 +13:00