Skip to content

Commit

Permalink
Update XDG 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 e9e51ac commit e72f914
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,16 @@ 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.

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

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

0 comments on commit e72f914

Please sign in to comment.