nushell/crates/nu-cli/src
Devyn Cairns fdf7f28d07
Address feedback from PR #12229 (#12242)
# Description
@sholderbach left a very helpful review and this just implements the
suggestions he made.

Didn't notice any difference in performance, but there could potentially
be for a long running Nushell session or one that loads a lot of stuff.

I also caught a bug where nu-protocol won't build without `plugin`
because of the previous conditional import. Oops. Fixed.

# User-Facing Changes
`blocks` and `modules` type in `EngineState` changed again. Shouldn't
affect plugins or anything else though really

# Tests + Formatting
- 🟢 `toolkit fmt`
- 🟢 `toolkit clippy`
- 🟢 `toolkit test`
- 🟢 `toolkit test stdlib`

# After Submitting

---------

Co-authored-by: sholderbach <sholderbach@users.noreply.github.com>
2024-03-20 20:16:18 +01:00
..
commands Add ConfigDirNotFound error (#11849) 2024-02-26 15:42:20 +08:00
completions Address feedback from PR #12229 (#12242) 2024-03-20 20:16:18 +01:00
menus IO and redirection overhaul (#11934) 2024-03-14 15:51:55 -05:00
config_files.rs Canonicalize each component of config files (#12167) 2024-03-13 06:26:06 -05:00
eval_cmds.rs IO and redirection overhaul (#11934) 2024-03-14 15:51:55 -05:00
eval_file.rs Make EngineState clone cheaper with Arc on all of the heavy objects (#12229) 2024-03-19 19:07:00 +01:00
lib.rs Bump Reedline for the Menu Refactor (#11658) 2024-01-28 08:26:03 -08:00
nu_highlight.rs Allow for stacks to have parents (#11654) 2024-03-09 17:55:39 +01:00
print.rs Fix incorrect handling of boolean flags for builtin commands (#11492) 2024-01-11 17:19:48 +02:00
prompt_update.rs Allow for stacks to have parents (#11654) 2024-03-09 17:55:39 +01:00
prompt.rs fix shell integration markers (#11352) 2023-12-16 20:12:34 -06:00
reedline_config.rs Use the system clipboard only for explicit copy/paste operations. Addresses issue 11907 (#12179) 2024-03-15 08:59:21 -05:00
repl.rs Respond to nightly clippy (#12174) 2024-03-20 09:46:39 +08:00
syntax_highlight.rs IO and redirection overhaul (#11934) 2024-03-14 15:51:55 -05:00
util.rs Refactor source cache into CachedFile struct (#12240) 2024-03-20 19:43:50 +01:00
validation.rs Remove old alias implementation (#8797) 2023-04-07 21:09:38 +03:00