# Stop relying on binary location to be in \`libexec\` on Linux \(\#13374\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 49dc63812ab1238b4df781ac342d0e3b107c0f7b

Requested commit: 49dc63812ab1238b4df781ac342d0e3b107c0f7b

Commit: 49dc63812ab1238b4df781ac342d0e3b107c0f7b

Tree: 78b04585db8db9dae48491e534898c5aaa6614ac

Author: Josef Zoller

Committer: GitHub

## Message

```
Stop relying on binary location to be in `libexec` on Linux (#13374)

This fixes #13360 by adding fallback directories that are searched by
the CLI if the main executable cannot be found in the `libexec`
directory.

Release Notes:

- Added the fallback directories `lib/zed` and `lib/zed-editor` for the
main executable search in the CLI
([#13360](https://github.com/zed-industries/zed/issues/13360)).

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
```

## Parents

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

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