nushell/src
Devyn Cairns 6b5906613c
Fix remaining mismatch for env handling in IR (#13796)
# Description

This fixes a couple of remaining differences between the IR evaluator's
handling of env vars and the AST evaluator's handling of env vars.

Blocker for #13718 (this is why those tests failed)

# User-Facing Changes

1. Handles checking overlays for hidden env vars properly, when getting
an env var from IR instruction
2. Updates config properly when doing `redirect_env()` (these probably
shouldn't be separate functions anyway, though, they're basically the
same. I did this because I intended to remove one, but now it's just
like that)

# Tests + Formatting

The `nu_repl` testbin now handles `NU_USE_IR` properly, so these tests
now work as expected.

# After Submitting

- [ ] check in on #13718 again
2024-09-10 11:03:06 +08:00
..
command.rs Error on non-zero exit statuses (#13515) 2024-09-07 06:44:26 +00:00
config_files.rs Error on non-zero exit statuses (#13515) 2024-09-07 06:44:26 +00:00
ide.rs Error on non-zero exit statuses (#13515) 2024-09-07 06:44:26 +00:00
logger.rs Add options for filtering the log output from nu (#13044) 2024-06-05 16:42:55 +08:00
main.rs Error on non-zero exit statuses (#13515) 2024-09-07 06:44:26 +00:00
README.md Remove old nushell/merge engine-q 2022-02-07 14:54:06 -05:00
run.rs Error on non-zero exit statuses (#13515) 2024-09-07 06:44:26 +00:00
signals.rs fix: relay Signals reset to plugins (#13510) 2024-08-06 03:35:40 -07:00
terminal.rs Deduplicate nix dependency versions (#12307) 2024-03-27 16:43:37 +01:00
test_bins.rs Fix remaining mismatch for env handling in IR (#13796) 2024-09-10 11:03:06 +08:00

Nushell REPL

This directory contains the main Nushell REPL (read eval print loop) as part of the CLI portion of Nushell, which creates the nu binary itself.

Current versions of the nu binary will use the Nu argument parsing logic to parse the commandline arguments passed to nu, leaving the logic here to be a thin layer around what the core libraries.