1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

Correct mistake in documentation on Unix configuration file paths

The order was flipped, which implied the wrong thing.
This commit is contained in:
Pradyun Gedam 2021-10-17 15:07:36 +01:00
parent 1b4ee832db
commit eddd6dde3b
No known key found for this signature in database
GPG key ID: FF99710C4332258E

View file

@ -29,11 +29,10 @@ complexity for backwards compatibility reasons.
```{tab} Unix
Global
: {file}`/etc/pip.conf`
: In a "pip" subdirectory of any of the paths set in the environment variable
`XDG_CONFIG_DIRS` (if it exists), for example {file}`/etc/xdg/pip/pip.conf`.
Alternatively, it may be in a "pip" subdirectory of any of the paths set
in the environment variable `XDG_CONFIG_DIRS` (if it exists), for
example {file}`/etc/xdg/pip/pip.conf`.
This will be followed by loading {file}`/etc/pip.conf`.
User
: {file}`$HOME/.config/pip/pip.conf`, which respects the `XDG_CONFIG_HOME` environment variable.