# agent: Fix settings view switch field about permissions for running commands \(\#35120\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4854f83e8c65f8eef2d90ac8fbfec7c875458a12

Requested commit: 4854f83e8c65f8eef2d90ac8fbfec7c875458a12

Commit: 4854f83e8c65f8eef2d90ac8fbfec7c875458a12

Tree: 8a3456349ef4730ddc75a691dd868af7db83a1eb

Author: Danilo Leal

Committer: GitHub

## Message

```
agent: Fix settings view switch field about permissions for running commands (#35120)

Follow-up to https://github.com/zed-industries/zed/pull/34866, where I
mistakenly didn't update the copy and id for this item.

Closes https://github.com/zed-industries/zed/issues/34850 — that's
because the edit tool runs by default, but the terminal tool does not. I
updated the original copy to reflect this, which should be enough to
close the issue, given that in terms of behavior, it is working
correctly.

Release Notes:

- agent: Fixed duplicated settings item in the agent panel as well as
improve copy for the setting to allow running commands without
permission.
```

## Parents

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

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