project: Use user configured shells for project env fetching (#41288)

Closes https://github.com/zed-industries/zed/issues/40464

Release Notes:

- Fix shell environment sourcing not respecting users remote shells
This commit is contained in:
Lukas Wirth
2025-11-03 16:29:07 +00:00
committed by GitHub
parent a6b177d806
commit 38e1e3f498
12 changed files with 177 additions and 153 deletions
+1 -1
View File
@@ -317,7 +317,7 @@ fn local_task_context_for_location(
cx.spawn(async move |cx| {
let project_env = environment
.update(cx, |environment, cx| {
environment.get_buffer_environment(&location.buffer, &worktree_store, cx)
environment.buffer_environment(&location.buffer, &worktree_store, cx)
})
.ok()?
.await;