# XDG_BASE_DIR support \(linux, windows\) \(\#10808\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/b29643168c32c11294ec7ece53efdc430f9ede36)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: b29643168c32c11294ec7ece53efdc430f9ede36

Requested commit: b29643168c32c11294ec7ece53efdc430f9ede36

Commit: b29643168c32c11294ec7ece53efdc430f9ede36

Tree: 4c4eda4e9286550ba172034909ff26098b58a508

Author: ElKowar

Committer: GitHub

## Message

```
XDG_BASE_DIR support (linux, windows) (#10808)

This PR adds XDG_BASE_DIR support on linux, and cleans up the path
declarations slightly. Additionally, we move the embeddings and
conversations directly to the SUPPORT_DIR on those platforms.
I _think_ that should also be done on MacOS in the future, but that has
been left out here for now to not break existing users setups.

Additionally, we move the SUPPORT_DIR into LocalAppData on windows for
consistency.

Release Notes:

- Fixed missing support of `XDG_BASE_DIR` on linux
- Fixed improper placement of data in XDG_CONFIG_HOME on linux and
windows (https://github.com/zed-industries/zed/issues/9308,
https://github.com/zed-industries/zed/issues/7155)

---------

Co-authored-by: phisch <philipp.schaffrath@gmail.com>
```

## Parents

- [e9a965fe8162d7247e5a01f8547607c2f0eaaee2](https://git.cafe/gitcafe/zed/commit/e9a965fe8162d7247e5a01f8547607c2f0eaaee2?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/b29643168c32c11294ec7ece53efdc430f9ede36?format=markdown)
