nodejs / nodejs/node-core-utils
$XDG_CONFIG_HOME should default to ~/.config
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 313
- Forks
- 137
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 24
Description
Ref: https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
$XDG_CONFIG_HOMEdefines the base directory relative to which user specific configuration files should be stored. If$XDG_CONFIG_HOMEis either not set or empty, a default equal to$HOME/.configshould be used.
Atm, that does not work — my XDG_CONFIG_HOME is not overriden (i.e. is unset), I have a config at ~/.config/ncurc, and git-node still complains.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the git-node configuration lookup and trace how an unset XDG_CONFIG_HOME is handled. Compare that behavior with the referenced basedir specification and the existing ~/.config/ncurc example; done means git-node recognizes that configuration when the variable is unset and no longer complains.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100