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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user