nushell/crates/nu-cli/src
Raphael Gaschignard d40019a141
Tidy up the REPL main loop (#11655)
While working on #11288 I was having some trouble tracking the main REPL
loop, so I've sent in a bunch of tiny refactorings on this branch.

These are almost all of the "move code from one place to another"
variety, and each commit is meant to be independent, _except for the
last one_, which is trying to be a bit more clever to handle the
decision of autocd'ing vs running a command. Feel free to just go
through each commit and cherry pick the ones that look good.

This leads to `evaluate_repl` going from ending on line 715 to ending on
line 395. Again, this is mostly just moving code around, but I think
this set of changes will make other changes around juggling the stack to
avoid cloning easier to review.
2024-01-31 09:32:19 -08:00
..
commands Add CLI flag to disable history (#11550) 2024-01-17 09:40:59 -06:00
completions external completer: support style (#11442) 2024-01-25 08:21:28 -06:00
menus Bump Reedline for the Menu Refactor (#11658) 2024-01-28 08:26:03 -08:00
config_files.rs Fix config creation during printing (#9353) 2023-06-04 22:04:28 +03:00
eval_cmds.rs Deprecate --flag: bool in custom command (#11365) 2023-12-21 10:07:08 +01:00
eval_file.rs Convert remainder of ShellError variants to named fields (#11276) 2023-12-09 18:46:21 -06:00
lib.rs Bump Reedline for the Menu Refactor (#11658) 2024-01-28 08:26:03 -08:00
nu_highlight.rs resolving external highlight should take current PATH into account (#11618) 2024-01-24 09:02:53 -06:00
print.rs Fix incorrect handling of boolean flags for builtin commands (#11492) 2024-01-11 17:19:48 +02:00
prompt_update.rs Only run $env.PROMPT_COMMAND once per prompt (copy of #10986) (#11366) 2023-12-18 09:33:04 -06:00
prompt.rs fix shell integration markers (#11352) 2023-12-16 20:12:34 -06:00
reedline_config.rs add match-text style + config setting for ide menu (#11670) 2024-01-29 09:59:01 -06:00
repl.rs Tidy up the REPL main loop (#11655) 2024-01-31 09:32:19 -08:00
syntax_highlight.rs Unify glob behavior on open, rm, cp-old, mv, umv, cp and du commands (#11621) 2024-01-26 21:57:35 +08:00
util.rs Deprecate --flag: bool in custom command (#11365) 2023-12-21 10:07:08 +01:00
validation.rs Remove old alias implementation (#8797) 2023-04-07 21:09:38 +03:00