# Terminal tool improvements \(\#29924\) · gitcafe/zed

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

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

Visibility: public

Requested revision: c12e6376b847432fa3452f4de833d81ab502d4a0

Requested commit: c12e6376b847432fa3452f4de833d81ab502d4a0

Commit: c12e6376b847432fa3452f4de833d81ab502d4a0

Tree: 3fc7477df331b47e24b12481bb4dd6b4946ef4d1

Author: Cole Miller

Committer: GitHub

## Message

```
Terminal tool improvements (#29924)

WIP

- On macOS/Linux, run the command in bash instead of the user's shell
- Try to prevent the agent from running commands that expect interaction

Release Notes:

- Agent Beta: Switched to using `bash` (if available) instead of the
user's shell when calling the terminal tool.
- Agent Beta: Prevented the agent from hanging when trying to run
interactive commands.

---------

Co-authored-by: WeetHet <stas.ale66@gmail.com>
```

## Parents

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

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