The short explanation is native GUI apps that use the macOS frameworks use the classic macOS directory structure.
The classic Unix utilities and apps typically use $HOME on macOS, while their modern, often Rust-based replacements—WezTerm, Exa, fd, broot, Fish, etc.—use XDG.
Vim uses ~/.vimrc while Neovim uses XDG.
Re:Dotfile Madness
by hyperupcall on Monday October 24, 2022 @12:23PM
(#33318743)
I asked for an exact phrasing, not for an explanation, because I have already written exactly that under the "Should I do this on macOS?" heading...
Is there an exact phrasing you would prefer?