Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion book/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ The variables that affect Nushell file locations are:

- `$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:

- `($nu.data-dir)/nushell/completions` is added to the `$env.NU_LIB_DIRS` search path.
- `($nu.data-dir)/completions` is added to the `$env.NU_LIB_DIRS` search path.
- `($nu.data-dir)/vendor/autoload` is added as the last path in `nu.vendor-autoload-dirs`. Files in this directory will be read after the other vendor-auto-load directories, thus overriding any of their settings.

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.
Expand Down