Closed ducaale closed 8 months ago
Maybe we can use the old location if it exists and the new one doesn't?
I'm also curious what other tools use in this case, I'll try to do a survey later.
I checked a few programs in my (Linux) ~/.config
:
~/.config
and listens to XDG variables. And IIRC the maintainer works at Apple.Application Support/
. But this is not a CLI tool.I'm sold, ~/.config
is the way to go for CLI tools.
HTTPie prioritizes its own legacy ~/.httpie
fallback if that exists, without checking the XDG dir, so a bit simpler than my suggestion. But I think the more complicated logic is worth it.
This is a potentially disruptive change but aligns us better with our docs and HTTPie.
Addresses #352