# Set the working directory according to the editor file path \(\#14688\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/ba4fa17b83fe3ce6261bfa433f5d715a2d01e22d)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: ba4fa17b83fe3ce6261bfa433f5d715a2d01e22d

Requested commit: ba4fa17b83fe3ce6261bfa433f5d715a2d01e22d

Commit: ba4fa17b83fe3ce6261bfa433f5d715a2d01e22d

Tree: cb0467f2d06e8168607040da315291d83646418e

Author: Kyle Kelley

Committer: GitHub

## Message

```
Set the working directory according to the editor file path (#14688)

Kernels now launch in the same directory as the script invoking them,
similar to notebook behavior.


![image](https://github.com/user-attachments/assets/def86308-bea4-4fa3-8211-132a282a5ecc)


Release Notes:

- N/A
```

## Parents

- [f5f4578422ee8630004742f046c6cd1199914333](https://git.cafe/gitcafe/zed/commit/f5f4578422ee8630004742f046c6cd1199914333?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/ba4fa17b83fe3ce6261bfa433f5d715a2d01e22d?format=markdown)
