From 1c5e6220e0c32ba306a77b5ac46660b53febf93b Mon Sep 17 00:00:00 2001 From: Hamed Nemati Date: Wed, 23 Apr 2025 11:23:21 +0200 Subject: [PATCH] Fix the constant --- book/configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/configuration.md b/book/configuration.md index 380c33284d0..e8185cd978b 100644 --- a/book/configuration.md +++ b/book/configuration.md @@ -382,7 +382,7 @@ The variables that affect Nushell file locations are: - `$env.XDG_CONFIG_HOME`: If this environment variable is set, it is used to change the directory that Nushell searches for its configuration files such as `env.nu`, `config.nu`, `login.nu`, and the `/autoload` directory. The history and plugin files are also stored in this directory by default. - Once Nushell starts, this value is stored in the `$nu.default-config-path` constant. See [Using Constants](#using-constants) below. + Once Nushell starts, this value is stored in the `$nu.default-config-dir` constant. See [Using Constants](#using-constants) below. - `$env.XDG_DATA_HOME`: If this environment variable is set, Nushell sets the `$nu.data-dir` constant to this value. The `data-dir` is used in several startup tasks: