mirror of
https://github.com/helix-editor/helix.git
synced 2024-09-11 18:58:00 +03:00
Make instructions regarding runtime clearer
This commit is contained in:
parent
722cfedb38
commit
000b7b7c97
11
README.md
11
README.md
@ -41,14 +41,17 @@ # Installation
|
|||||||
|
|
||||||
This will install the `hx` binary to `$HOME/.cargo/bin`.
|
This will install the `hx` binary to `$HOME/.cargo/bin`.
|
||||||
|
|
||||||
Now copy the `runtime/` directory somewhere. Helix will by default look for the runtime
|
Helix also needs it's runtime files so make sure to copy/symlink the `runtime/` directory into the
|
||||||
inside the config directory or the same directory as executable, but that can be overriden
|
config directory (for example `~/.config/helix/runtime` on Linux/macOS). This location can be overriden
|
||||||
via the `HELIX_RUNTIME` environment variable.
|
via the `HELIX_RUNTIME` environment variable.
|
||||||
|
|
||||||
> NOTE: running via cargo doesn't require setting explicit `HELIX_RUNTIME` path, it will automatically
|
Packages already solve this for you by wrapping the `hx` binary with a wrapper
|
||||||
|
that sets the variable to the install dir.
|
||||||
|
|
||||||
|
> NOTE: running via cargo also doesn't require setting explicit `HELIX_RUNTIME` path, it will automatically
|
||||||
> detect the `runtime` directory in the project root.
|
> detect the `runtime` directory in the project root.
|
||||||
|
|
||||||
If you want to embed the `runtime/` directory into the Helix binary you can build
|
Alternatively, if you want to embed the `runtime/` directory into the Helix binary you can build
|
||||||
it with:
|
it with:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user