# Fix wild install script \(\#42747\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 07cc87b288b9b9c575ccb696f383a54b7474bd8b

Requested commit: 07cc87b288b9b9c575ccb696f383a54b7474bd8b

Commit: 07cc87b288b9b9c575ccb696f383a54b7474bd8b

Tree: 8470c66e6b1c79de9c0a57674cb7fb27e80efa83

Author: Alvaro Parker

Committer: GitHub

## Message

````
Fix wild install script (#42747)

Use
[`command`](https://www.gnu.org/software/bash/manual/bash.html#index-command)
instead of `which` to check if `wild` is installed.

Using `which` will result in an error being printed to stdout: 

```bash
./script/install-wild
which: invalid option -- 's'
/usr/local/bin/wild
Warning: existing wild 0.6.0 found at /usr/local/bin/wild. Skipping installation.
```

Release Notes:

- N/A
````

## Parents

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

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