$XDG_CONFIG_HOME should default to ~/.config
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.
require('os').homedir() aready follows $HOME, so the config location should set to process.env.XDG_CONFIG_HOME || `${require('os').homedir()}/.config` instead of just process.env.XDG_CONFIG_HOME.
Thanks for reporting, do you want to open a PR to fix that?
This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.
This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.