From 52770cd3ada1d5db86b9050fdd5c2f1d4b0db412 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Wed, 4 Jun 2025 11:00:27 -0700 Subject: [PATCH] docs: Fix the database path on Linux (and BSD) (#32072) Updated to reflect the logic in https://github.com/zed-industries/zed/blob/main/crates/paths/src/paths.rs. Release Notes: - N/A --- docs/src/workspace-persistence.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/workspace-persistence.md b/docs/src/workspace-persistence.md index e2ff232a62..aeb69fe255 100644 --- a/docs/src/workspace-persistence.md +++ b/docs/src/workspace-persistence.md @@ -3,7 +3,7 @@ Zed creates local SQLite databases to persist data relating to its workspace and your projects. These databases store, for instance, the tabs and panes you have open in a project, the scroll position of each open file, the list of all projects you've opened (for the recent projects modal picker), etc. You can find and explore these databases in the following locations: - macOS: `~/Library/Application Support/Zed` -- Linux: `~/.local/share/Zed` +- Linux and FreeBSD: `~/.local/share/zed` (or within `XDG_DATA_HOME` or `FLATPAK_XDG_DATA_HOME`) - Windows: `%LOCALAPPDATA%\Zed` The naming convention of these databases takes on the form of `0-`: