3 ms·
.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.
by 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?