Hacker News new | ask | show | jobs
by upofadown 2326 days ago
.config is a XDG thing. The location of it is configurable. Which is the opposite of a standard and is a bad idea in general.
1 comments

Just out of curiosity, why is it the opposite of a standard if its configurable? XDG home seems to have a sane default of .config, but also provides configuration with the $XDG_CONFIG_HOME environment variable. To me it looks like thats part of the specified XDG base directory standard.

https://specifications.freedesktop.org/basedir-spec/basedir-...

It can hardly be considered a standard location if you literally make it so people will consider putting it wherever they like.