Skip to content

Commit e72f914

Browse files
committed
Update XDG user directories README.md section
1 parent e9e51ac commit e72f914

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,16 @@ Sensible fallback locations are used for the folders which are not set.
100100

101101
### XDG user directories
102102

103+
XDG user directories environment variables are usually **not** set on most
104+
operating systems. However, all valid variables present in the environment
105+
are used. Appropriate fallback locations are used for the environment variables
106+
which are not set.
107+
108+
- On Linux distributions, the package reads the [user-dirs.dirs](https://man.archlinux.org/man/user-dirs.dirs.5.en) config file, if present.
109+
- On Windows, the package uses the appropriate [Known Folders](https://docs.microsoft.com/en-us/windows/win32/shell/knownfolderid).
110+
111+
Default locations are used for any user directories which are not set, as shown in the following tables.
112+
103113
<details open>
104114
<summary><strong>Unix-like operating systems</strong></summary>
105115
<br/>

0 commit comments

Comments
 (0)