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:
parent
1b4ee832db
commit
eddd6dde3b
1 changed files with 3 additions and 4 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue