Skip to content

Commit eddd6dd

Browse files
committed
Correct mistake in documentation on Unix configuration file paths
The order was flipped, which implied the wrong thing.
1 parent 1b4ee83 commit eddd6dd

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/html/topics/configuration.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,10 @@ complexity for backwards compatibility reasons.
2929
```{tab} Unix
3030
3131
Global
32-
: {file}`/etc/pip.conf`
32+
: In a "pip" subdirectory of any of the paths set in the environment variable
33+
`XDG_CONFIG_DIRS` (if it exists), for example {file}`/etc/xdg/pip/pip.conf`.
3334
34-
Alternatively, it may be in a "pip" subdirectory of any of the paths set
35-
in the environment variable `XDG_CONFIG_DIRS` (if it exists), for
36-
example {file}`/etc/xdg/pip/pip.conf`.
35+
This will be followed by loading {file}`/etc/pip.conf`.
3736
3837
User
3938
: {file}`$HOME/.config/pip/pip.conf`, which respects the `XDG_CONFIG_HOME` environment variable.

0 commit comments

Comments
 (0)