on master help sign in
Update README
commit45793d7c097ca5c9cb9b6eaa13bb1c716ee10d60 authorWojciech Kępka <wojtek.kepka@protonmail.com> dateSat 12 Jun 2021, 10:20 (5 years ago) parent4b6aff8
1 file changed+6−8
README.md+6−8
README.md+6−8
@@ -41,14 +41,12 @@ cargo install --path helix-term
4141
4242This will install the `hx` binary to `$HOME/.cargo/bin`.
4343
44−Now copy the `runtime/` directory somewhere. Helix will by default look for the
45−runtime inside the same folder as the executable, but that can be overriden via
46−the `HELIX_RUNTIME` environment variable.
47−
48−> NOTE: You should set this to <path to repository>/runtime in development (if
49−> running via cargo).
50−>
51−> `export HELIX_RUNTIME=$PWD/runtime`
44+Now copy the `runtime/` directory somewhere. Helix will by default look for the runtime
45+inside the config directory or the same directory as executable, but that can be overriden
46+via the `HELIX_RUNTIME` environment variable.
47+
48+> NOTE: running via cargo doesn't require setting explicit `HELIX_RUNTIME` path, it will automatically
49+> detect the `runtime` directory in the project root.
5250
5351If you want to embed the `runtime/` directory into the Helix binary you can build
5452it with: