Skip to main content

zed_settings_path

Function zed_settings_path 

Source
pub fn zed_settings_path() -> PathBuf
Expand description

Path of Zed’s user settings file.

  • macOS / Linux: $XDG_CONFIG_HOME/zed/settings.json, falling back to ~/.config/zed/settings.json. Zed uses the XDG location on macOS too (unlike most Mac apps) — see zed.dev/docs/ai/instructions which documents ~/.config/zed/AGENTS.md for macOS.
  • Windows: %APPDATA%\Zed\settings.json.