# agent: Update shell path in system prompt to match the terminal we give it \(\#39344\) · gitcafe/zed

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

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

Visibility: public

Requested revision: f17096879ca04497126a845a6af8c06f7d2f12bf

Requested commit: f17096879ca04497126a845a6af8c06f7d2f12bf

Commit: f17096879ca04497126a845a6af8c06f7d2f12bf

Tree: 3918fa4d08a68774bced6ec01299017b3ca86755

Author: Ben Brandt

Committer: GitHub

## Message

```
agent: Update shell path in system prompt to match the terminal we give it (#39344)

In the ACP changes, we changed how terminals are created for the agent,
and so the system prompt was putting in the system shell instead of the
default one, potentially causing confusion for the model.

These are now in sync, so this will hopefully alleviate issues people
were seeing, as well as use a more standard shell to increase the
likelihood of successful model tool calls.

Release Notes:

- agent: Align default shell path in system prompt with the actual path
it is given
```

## Parents

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

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