Dotfile madness (2019)
0x46.net
Dotfile madness (2019)
1–10 of 185 posts
Re: Dotfile madness (2019)
#2Re: Dotfile madness (2019)
#3Re: Dotfile madness (2019)
#4Eh, I dunno. XDG is just some group or whatever, dropping config files in .programname is the de-facto community standard. If people want to follow XDG that's fine, but I can't blame anybody who wants to ignore all that noise.
Re: Dotfile madness (2019)
#5Please don't. Include the example configuration in your docs (/usr/share/PROG..) and mention it in the manual. Statistically user will have hundreds of apps installed but will only ever customize a small fraction them. So creating config unconditionally on first run is one of the worst contributors to homedir pollution.
Another argument is version upgrades: if you create configur on first run, you forever bake in the set of options present in that version. If later a new option is added, user will have no idea about it.
Re: Dotfile madness (2019)
#6Re: Dotfile madness (2019)
#7Of course, it doesn't help just to complain about the issue in a void, so I've also submitted like 10 PRs and filed quite a few issues. Projects like pnpm and Poetry took note, and now they comply!
Someone's gotta clean up house, and I don't mind doing the dirty work.
Re: Dotfile madness (2019)
#8/home/you/personal/
source code in
/home/you/src/
The home is not a place supposed to store random "regular files"
Re: Dotfile madness (2019)
#9Eh, I dunno. XDG is just some group or whatever, dropping config files in .programname is the de-facto community standard. If people want to follow XDG that's fine, but I can't blame anybody who wants to ignore all that noise.
It doesn't seem like you understand much about the specification? I'd recommend reading it, or at least a short summary I've made available here: https://xdgbasedirectoryspecification.com/