# terminal_view: Don't try home_dir when working locally \(\#53071\) · gitcafe/zed

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

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

Visibility: public

Requested revision: aa14c4201bc9c31b6588278a3aa5e9e01139fc3c

Requested commit: aa14c4201bc9c31b6588278a3aa5e9e01139fc3c

Commit: aa14c4201bc9c31b6588278a3aa5e9e01139fc3c

Tree: 00a9193ec9d45d49085dca57f7dd724f34448626

Author: Sergei Shulepov

Committer: GitHub

## Message

```
terminal_view: Don't try home_dir when working locally (#53071)

When opening a remote session, sometimes you get a message:

    /bin/bash: line 1: cd: /Users/pep: No such file or directory

which suggests that that the local home dir (/Users/pep) is used for the
remote terminal session, where it should be something like /home/ubuntu.

Release Notes:

- Fixed remote terminals incorrectly trying to change to a local home
directory.
```

## Parents

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

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