Skip to content

Commit

Permalink
Improve user directories README.md section
Browse files Browse the repository at this point in the history
  • Loading branch information
adrg committed Jul 8, 2024
1 parent 27a1554 commit ac2d468
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,15 @@ Sensible fallback locations are used for the folders which are not set.
### XDG user directories

XDG user directories environment variables are usually **not** set on most
operating systems. However, all valid variables present in the environment
are used. Appropriate fallback locations are used for the environment variables
which are not set.
operating systems. However, if they are present in the environment, they take
precedence. Appropriate fallback locations are used for the environment
variables which are not set.

- On Linux distributions, the package reads the [user-dirs.dirs](https://man.archlinux.org/man/user-dirs.dirs.5.en) config file, if present.
- On Windows, the package uses the appropriate [Known Folders](https://docs.microsoft.com/en-us/windows/win32/shell/knownfolderid).

Default locations are used for any user directories which are not set, as shown in the following tables.
Lastly, default locations are used for any user directories which are not set,
as shown in the following tables.

<details open>
<summary><strong>Unix-like operating systems</strong></summary>
Expand Down

0 comments on commit ac2d468

Please sign in to comment.