diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-06-10 16:36:57 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-06-10 16:36:57 +0300 |
commit | 9f60576753da4cbe5cd0afe660d49a22e34e3cf1 (patch) | |
tree | 1416a3482d9afbdb3c6820965fc5a8475af14ac4 /doc | |
parent | docs: fix signoff example (diff) | |
download | pkgdev-9f60576753da4cbe5cd0afe660d49a22e34e3cf1.tar.gz pkgdev-9f60576753da4cbe5cd0afe660d49a22e34e3cf1.tar.bz2 pkgdev-9f60576753da4cbe5cd0afe660d49a22e34e3cf1.zip |
fix config loading if XDG_CONFIG_HOME defined
Fixes: https://github.com/pkgcore/pkgdev/issues/72
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man/config.rst | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/man/config.rst b/doc/man/config.rst index c809824..6308b02 100644 --- a/doc/man/config.rst +++ b/doc/man/config.rst @@ -5,9 +5,10 @@ Config files are supported by most subcommands of ``pkgdev`` from any of three locations. Listed in order of increasing precedence these include the following: -- system config -- /etc/pkgdev/pkgdev.conf -- user config -- ~/.config/pkgdev/pkgdev.conf -- custom config -- specified via the --config option +- system config -- ``/etc/pkgdev/pkgdev.conf`` +- user config -- ``${XDG_CONFIG_HOME}/pkgdev/pkgdev.conf`` +- user config -- ``~/.config/pkgdev/pkgdev.conf`` +- custom config -- specified via the ``--config`` option Any settings from a config file with higher precedence will override matching settings from a config file with a lower precedence, e.g. user settings @@ -33,7 +34,8 @@ related values. To find all possible configuration options, run: [gentoo] push.ask = true -- Add `Signed-off-by` consenting to the `Certificate of Origin <https://www.gentoo.org/glep/glep-0076.html#certificate-of-origin>`_ +- Add `Signed-off-by` consenting to the `Certificate of Origin + <https://www.gentoo.org/glep/glep-0076.html#certificate-of-origin>`_ to all commits:: [DEFAULT] |