# Fix launching from WSL with fish as default shell \(\#48136\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 782f91f32024d8d91a52cb3c008b125e03f1bad2

Requested commit: 782f91f32024d8d91a52cb3c008b125e03f1bad2

Commit: 782f91f32024d8d91a52cb3c008b125e03f1bad2

Tree: 0dba96c66f28bb76de39830724551c9c892bec67

Author: andreasp

Committer: GitHub

## Message

````
Fix launching from WSL with fish as default shell (#48136)

Closes #46801

When connecting to WSL2 with fish as the default shell, Zed gets stuck
at "Starting proxy". The connection works fine when bash is the default
shell.

In `start_proxy()`, the WSL command was being invoked with:

```rust
let proxy_process = match wsl_command_impl(&self.connection_options, "env", &proxy_args, false)
```

Changing the last argument to true invokes the WSL command with `--exec`
flag which executes the command in the WSL environment without spawning
a new shell.

With above fix I can launch Zed from WSL (Arch) with fish.
````

## Parents

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

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