From 2e4df38c833925b5a7e18f0f7da19156c5abe826 Mon Sep 17 00:00:00 2001 From: Sam Hedin Date: Wed, 17 Jun 2020 14:17:26 +0200 Subject: [PATCH] todo.org --- crates/nu-cli/src/env/TODO.org | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/nu-cli/src/env/TODO.org b/crates/nu-cli/src/env/TODO.org index bc0a9f9e0f..722a1cb2de 100644 --- a/crates/nu-cli/src/env/TODO.org +++ b/crates/nu-cli/src/env/TODO.org @@ -1,5 +1,5 @@ * TODO -** Run even if =env()= returns None +** Fixed: Run even if =env()= returns None It happens if there is no env-section in .config/nu/config.toml. This results in #+begin_src rust @@ -22,5 +22,5 @@ returning =None=, which completely skips running the code for dealing with direc https://github.com/nushell/nushell/issues/1965 ** Nice errors ** Potential issues - - Currently the functionality to restore environment variables is disabled, as it is handled by other parts of nushell just fine. - - This functionality might need to be re-added if \ No newline at end of file + - Functionality to re-add overwritten variables is currently untested. + - Needs to be tested with what happens if you set a variable in the current session from some other source than .nu-env or config.toml \ No newline at end of file