https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
Presently, it is writing to ~/.tldrc and is not respecting XDG_CONFIG_HOME or XDG_CACHE_HOME or XDG_DATA_HOME. I'm not sure how much of the directory is config vs cache vs data, so I don't know which xdg directories it should be written to. But none of it should be in ~.
If you really care about it, you can use tealdeer, which adheres to the XDG BaseDir spec. Take note that it is written in Rust, so you'll need a Rust compiler installed to build it.
Disclaimer, I'm a contributor to the project.
@SShrike and @jasonkarns, this is something we might include in the client spec that is being defined at #1065. Please comment there if you think it should be enforced for all clients, or not.
Most helpful comment
If you really care about it, you can use tealdeer, which adheres to the XDG BaseDir spec. Take note that it is written in Rust, so you'll need a Rust compiler installed to build it.
Disclaimer, I'm a contributor to the project.