zed icon indicating copy to clipboard operation
zed copied to clipboard

paths: XDG_CONFIG_HOME compliance on non-linux platforms

Open chawyehsu opened this issue 6 months ago • 1 comments
trafficstars

This resolves https://github.com/zed-industries/zed/discussions/27338

Release Notes:

  • The XDG Base Directory convention is platform-agnostic — meaning it can be used on non-linux platforms when env vars are explicitly configured.

chawyehsu avatar May 11 '25 02:05 chawyehsu

@chawyehsu I've a tiny crate for this, if it helps: https://crates.io/crates/xdg-home

zeenix avatar May 11 '25 08:05 zeenix

I think rather than having this rewrite, we'd prefer it if this kind of change got upstreamed to dirs, or a fork of dirs. We already have enough complexity in our config path selection, and I'd like to keep it down if we can :)

mikayla-maki avatar Jun 06 '25 17:06 mikayla-maki