feat: change XDG taskrc naming #2391
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #2390 by changing the name of the
$XDG_CONFIG_HOME/taskconfig totaskrc.ymlortaskrc.yaml(without the preceding.).@vmaerten @panchoh w.r.t discussion in #2390, I'm not against
config.yml, but after a bit of thinking I actually feel like ripgrep might have got this right. The naming consistency is valuable IMO. It lets you know that you're editing the same kind of file with the same schema and I think$XDG_CONFIG_HOME/task/taskrc.ymlis the way to go. Happy to be outvoted on this though!Once agreed and merged, I will open a PR to the schemastore repo.
Also the related discussion on Discord around the inclusion of the
$HOMEdirectory when running from a directory that does not have$HOMEas a parent.See updated docs for a full description.