Skip to content

Commit 802df63

Browse files
authored
XDG_DATA_DIRS are Unix-only (nushell#1663)
1 parent 76c273a commit 802df63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/configuration_preview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ The variables that affect Nushell file locations are:
390390

391391
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.
392392

393-
- `$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.
393+
- `$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.
394394

395395
::: warning
396396
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.

0 commit comments

Comments
 (0)