# Read remote shell config when creating a terminal shell \(\#61451\) · gitcafe/zed

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

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

Visibility: public

Requested revision: c87632ef44a7404e9c2429979d767d2d79beada7

Requested commit: c87632ef44a7404e9c2429979d767d2d79beada7

Commit: c87632ef44a7404e9c2429979d767d2d79beada7

Tree: bfee7091317919b4471c18546132578c03dcced8

Author: Quinn Shanahan

Committer: GitHub

## Message

```
Read remote shell config when creating a terminal shell (#61451)

# Objective

- Makes shell for remote configurable.
- fixes #35226 

## Solution

- Adds rpc so client can retrieve terminal settings from remote server
- Vibe coded with codex Sol, I did my best to review it and make sure
it's the minimal changes.
- Added terminal dependency to remote_server, rather than a larger
change (e.g. adding something to project to expose terminal shell
setting to remote_server)

## Testing

- Tested and works Windows client / linux remote server

## Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] Tests cover the new/changed behavior
- [ ] Performance impact has been considered and is acceptable


---

Release Notes:

- Added support for terminal.shell in remote sessions

---------

Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
```

## Parents

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

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