Open bigodel opened 6 months ago
Sure, I welcome a PR for this
I'm not sure if XDG_STATE_HOME
should be used for this however. This seems to be for log/history files. The tools dir is part of the installation.
bbin seems to use XDG_DATA_HOME
for this: https://github.com/search?q=repo%3Ababashka%2Fbbin%20XDG&type=code
Sure, I welcome a PR for this
All right, seems simple enough that I could create a PR myself, I just might take a few days to get it done because I've been pretty busy. I'll use bbin's implementation as a reference.
I'm not sure if
XDG_STATE_HOME
should be used for this however. This seems to be for log/history files. The tools dir is part of the installation.
Yeah, you're right, my mistake. XDG_DATA_HOME
would be more appropriate indeed.
Instead of relying on
~/.deps.clj/...
, consider using e.g.XDG_STATE_HOME
, which defaults to~/.local/state
, in order to comply to XDG Base Directory Specification.