You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If possible, spawn login shell in user's home directory
This is related to #8188 and should fix two things:
1. It spawns a login shell that `cd`s into a users home directory, which
causes tools like `asdf`, `mise`, `direnv`, ... to fire. That means
that if I don't have `gopls` installed, for example, but `go` (via
`mise`) that Zed will then use my `go` when launched from `Zed.app`.
2. It appends `exit 0;` to the login shell command. It's the same
mysterious fix that we had in #8188 for the login shell. We thought
that this shell here was immune but turns out it's not when launched
via `cli` (`cargo build && cargo run -p cli --bin cli -- -b
target/debug/Zed`).
0 commit comments