-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
What happened?
My home directory is on a network drive, so I have $XDG_CACHE_HOME pointing to a different filesystem that is stored locally, for performance reasons.
However, this extension currently ignores that environment variable and hardcodes its default value:
Lines 325 to 327 in b68357e
| Os::Linux => env_iter | |
| .find(|(k, _)| k == "HOME") | |
| .map(|(_, v)| PathBuf::from(v).join(".cache")), |
What did you expect to happen?
I would expect this extension to follow the XDG Base Directory Specification, which the main Zed editor already does.
This simply means checking for $XDG_CACHE_HOME, and if it's set, using that path rather than $HOME/.cache.
Environment
Zed: 0.217.3
Platform: NixOS Xantusia 25.11.20251226.f560cce (Linux 6.12.63)
Metadata
Metadata
Assignees
Labels
No labels