RichiH / vcsh

config manager based on Git
GNU General Public License v2.0
2.19k stars 122 forks source link

Missing mention of config.d for configuration per repository #319

Open suy opened 2 years ago

suy commented 2 years ago

The config section of the manpage starts with:

There are several ways to turn the various knobs on `@TRANSFORMED_PACKAGE_NAME@`. In order of
ascending precedence, they are:

* `VARIABLE=foo @TRANSFORMED_PACKAGE_NAME@`
* </etc/vcsh/config>
* <$XDG_CONFIG_HOME/vcsh/config>
* `@TRANSFORMED_PACKAGE_NAME@ -c <file>`

But there is no mention of config.d. The README documentation mentions a config.d, but it's always in the context of mr. I don't dare to submit a pull request, given that I don't see in which order the config.d should be inserted.

Cheers, and thanks for the project. :)

RichiH commented 2 years ago

$XDG_CONFIG_HOME/vcsh/config.d/$VCSH_REPO_NAME is vcsh configuration specific to a repository. It's most specific of them all, but only works when it's the right repo. Maybe send a PR with a line under this list explaining that? I think that would clear it up.

Thanks!