clojure-emacs / enrich-classpath

Enriches Lein/deps.edn dependency trees with Java sources, JDK sources, javadocs, etc
Eclipse Public License 2.0
32 stars 9 forks source link

Use XDG compliant caching folder #47

Closed dakra closed 1 year ago

dakra commented 1 year ago

Instead of littering the users home dir, I would prefer if it follows XDG and put .enrich-classpath-cache in $XDG_DATA_HOME (~/.local/share) or maybe $XDG_CACHE (~/.cache).

vemv commented 1 year ago

Thanks!

$XDG_CACHE_HOME appears to make the most sense.

I'm curious, do you have that specific env var set?

dakra commented 1 year ago

I'm curious, do you have that specific env var set?

No, I just use the default value, which for cache would point to ~/.cache.

Maybe you can look at babashka.fs for inspiration.

vemv commented 1 year ago

Thanks!

vemv commented 1 year ago

CIDER 20230912.1201 / master bundles this fix.

Cheers - V