Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix GitHub Copilot chat authentication on Windows (#15587)

Ramkumar04065d9a6af3
diff --git a/crates/paths/src/paths.rs b/crates/paths/src/paths.rs
index a28429f6a75..1cbdd500c5b 100644
--- a/crates/paths/src/paths.rs
+++ b/crates/paths/src/paths.rs
@@ -217,7 +217,7 @@ pub fn copilot_chat_config_path() -> &'static PathBuf {
COPILOT_CHAT_CONFIG_DIR.get_or_init(|| {
if cfg!(target_os = "windows") {
- home_dir().join("AppData")
+ home_dir().join("AppData").join("Local")
} else {
home_dir().join(".config")
}