3 ms·
Point about /etc is that it’s just one part of “configuration”. There’s no /etc for users. That’s why we get all these dot.dirs. At least some apps use ~/.co
by jbverschoor 4y ago
Point about /etc is that it’s just one part of “configuration”.
There’s no /etc for users. That’s why we get all these dot.dirs. At least some apps use ~/.config/
- hiptobecubic 4y ago.config/ and .local/ are the de facto /etc for users, but there is the set of XDG_ environment variables that are intended to fill that role.
- yjftsjthsd-h 4y agoI'm pretty sure .local is the per-user /usr, and .config is /etc
- db48x 4y agoYou’re both correct; a fair number of applications put their configuration in ~/.local/share even though that wasn’t the intent.
- jbverschoor 4y agoWell, my git, ssh, caches of what not, almost everything is in my home directory directly. It's even worse than "My Documents"
- rad_gruchalski 4y ago„My Documents” isn’t the same as a home directory. Home directory in recent Windows versions is „C:\Users\CurrentUserName”. Or better: %homedrive%%homepath%.
- viraptor 4y agoGit uses XDG_CONFIG_HOME https://git-scm.com/docs/git-config#Files https://git-scm.com/docs/git-config#Files - putting the config directly in your home is just a choice.
- jbverschoor 4y agoIt doesn’t in macOS. It’s not a choice. It’s the default. It’s like saying it’s a choice to run mongodb without authentication. Lastly, why should I be using XDG Desktop variables on something that don’t haveA desktop environment?
- augustk 4y ago"$XDG_CONFIG_HOME defines the base directory relative to which user-specific configuration files should be stored. If $XDG_CONFIG_HOME is either not set or empty, a default equal to $HOME/.config should be used." https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html#variables https://specifications.freedesktop.org/basedir-spec/basedir-...