News for hackers. Stuff that matters.
Re:Dotfile madness by nickjj on Saturday February 02, 2019 @03:36PM (#19065530)
> My immediate response was pretty much "where the hell else should they put them then?"

He didn't mean to avoid $HOME as a whole. Just the root of the $HOME directory.

I too much prefer having programs write their config files to $HOME/.config/program-name instead of $HOME because it's less clutter and now I can think "ok, $HOME/.config is where all of my app's configuration is", instead of having a bunch of files littered in $HOME while other apps use $HOME/.config/file_name or $HOME/.app_name.

It bothers me that .pypirc exists in $HOME, rubygems credentials are in $HOME/.gem/credentials and Docker's credentials are in $HOME/.docker/config.json. That's 3 different location styles for an app's config file. They should all be in $HOME/.config/$app_name/relevant_file_name for whatever the config is for.

There are no comments on this comment yet.