5 ms·
Why move the folder? Why not just symlink config to .config? There's almost certainly some poorly written tools out there that will blow up on the symlink. W
by bmurphy1976 4y ago
Why move the folder? Why not just symlink config to .config? There's almost certainly some poorly written tools out there that will blow up on the symlink. Why take that risk?
- cafeinux 4y agoFrom a purely esthetic point of view, if you're using a graphical file manager, the symbolic link might be denoted by an ugly icon. Surely there's a solution to that, but that's the only reason I could find.
- jph 4y agoYou're correct, moving the folder can expose a poorly written tool, meaning a tool that isn't following the symlink and isn't using XDG_CONFIG_HOME. To me, it's an advantage to surface the latent problems, so I can message the authors to ask them about updating. So far, all authors are good with updating. It turns out the bulk of the issues are in internal scripts that hardcoded ~/.config instead of using XDG_CONFIG_HOME. This is an easy fix, and at the same time we shellcheck those scripts.