nushell/src
Douglas 6aed1b42ae
Add current exe directory to default $NU_PLUGIN_DIRS (#15380)
Quality-of-life improvement - Since core plugins are installed into the
same directory as the Nushell binary, this simply adds that directory to
the default `$NU_PLUGIN_DIRS`.

User-facing changes:

The default directory for core plugins is automatically added to the
`$NU.PLUGIN_DIRS` with no user action necessary. Uses can immediately,
out-of-the-box:

```nushell
plugin add nu_plugin_polars
plugin use polars
```
2025-03-24 08:27:02 -04:00
..
command_context.rs Refactor/fix tests affecting the whole command set (#15073) 2025-02-11 11:36:36 +01:00
command.rs Fix quoting in to nuon and refactor quoting functions (#14180) 2024-10-29 07:43:26 -05:00
config_files.rs fix: new clippy warnings from rust 1.85.0 (#15203) 2025-02-27 14:11:47 +01:00
ide.rs More precise ErrorKind::NotFound errors (#15149) 2025-02-22 11:42:44 -05:00
logger.rs Add options for filtering the log output from nu (#13044) 2024-06-05 16:42:55 +08:00
main.rs Add current exe directory to default $NU_PLUGIN_DIRS (#15380) 2025-03-24 08:27:02 -04:00
README.md Remove old nushell/merge engine-q 2022-02-07 14:54:06 -05:00
run.rs fix: new clippy warnings from rust 1.85.0 (#15203) 2025-02-27 14:11:47 +01: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 Make Hooks fields non-optional to match the new config defaults (#14345) 2024-11-29 21:11:09 +00: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.