From 7efd3a42e48a1d9e6f8f65a19704f924f21983d0 Mon Sep 17 00:00:00 2001 From: NotTheDr01ds <32344964+NotTheDr01ds@users.noreply.github.com> Date: Wed, 4 Dec 2024 15:36:25 -0500 Subject: [PATCH] XDG_DATA_DIRS are Unix-only --- book/configuration_preview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/configuration_preview.md b/book/configuration_preview.md index 26fd9d56bba..f0f3c79dede 100644 --- a/book/configuration_preview.md +++ b/book/configuration_preview.md @@ -390,7 +390,7 @@ The variables that affect Nushell file locations are: Note that the directory represented by `$nu.data-dir`, nor any of its subdirectories, are created by default. Creation and use of these directories is up to the user. -- `$env.XDG_DATA_DIRS`: If this environment variable is set, it is used to populate the `$nu.vendor-auto-load` directories in the order listed. The first directory in the list is processed first, meaning the last one read will have the ability to override previous definitions. +- `$env.XDG_DATA_DIRS` _(Unix Platforms Only)_: If this environment variable is set, it is used to populate the `$nu.vendor-auto-load` directories in the order listed. The first directory in the list is processed first, meaning the last one read will have the ability to override previous definitions. ::: warning The `XDG_*` variables are **not** Nushell-specific and should not be set to a directory with only Nushell files. Instead, set the environment variable to the directory _above_ the one with the `nushell` directory.