nushell/crates/nu-cli
Thomas Buckley-Houston 85772e0407
Add config.history.path
This was originally brought up in #11962, but closed in favour of the
more general #10100. However this commit doesn't address the broader
theme of using alternate XDG vars for the default history path.

Here is the updated `sample_config.nu` documentation for the field:

> # When this config doesn't exist or is set to null, then a default path is used
> # based on the OS and ENV.
> #
> # You will likely want to match the file extension to the `file_format` setting,
> # therefore ".txt" or ".sqlite".
> #
> # Nushell will create the file if it doesn't exist. However it won't create the
> # directory path, and will error if it doesn't exist.
> $env.config.history.path = null
2024-11-25 16:18:52 +01:00
..
src Add config.history.path 2024-11-25 16:18:52 +01:00
tests Avoid recomputing fuzzy match scores (#13700) 2024-11-22 06:29:00 -06:00
Cargo.toml Bump to dev version 0.100.1 (#14328) 2024-11-14 10:04:39 +01:00
LICENSE Fix rest of license year ranges (#8727) 2023-04-04 09:03:29 +12:00
README.md Add top-level crate documentation/READMEs (#12907) 2024-07-14 10:10:41 +02:00

This crate implements the core functionality of the interactive Nushell REPL and interfaces with reedline. Currently implements the syntax highlighting and completions logic. Furthermore includes a few commands that are specific to reedline

Internal Nushell crate

This crate implements components of Nushell and is not designed to support plugin authors or other users directly.