diff --git a/README.md b/README.md index 032ecf675..48c24de7c 100644 --- a/README.md +++ b/README.md @@ -49,10 +49,11 @@ tree-sitter grammars may be manually fetched and built with `hx --grammar fetch` Helix also needs its runtime files so make sure to copy/symlink the `runtime/` directory into the config directory (for example `~/.config/helix/runtime` on Linux/macOS, or `%AppData%/helix/runtime` on Windows). -| OS | command | -|-----------|-----------| -|windows |`xcopy runtime %AppData%/helix/runtime`| -|linux/macos|`ln -s $PWD/runtime ~/.config/helix/runtime` +| OS | command | +|-------------------|-----------| +|windows(cmd.exe) |`xcopy runtime %AppData%/helix/runtime` | +|windows(powershell)|`xcopy runtime $Env:AppData\helix\runtime` | +|linux/macos |`ln -s $PWD/runtime ~/.config/helix/runtime`| This location can be overridden via the `HELIX_RUNTIME` environment variable. diff --git a/book/src/install.md b/book/src/install.md index bf59ea234..045e22556 100644 --- a/book/src/install.md +++ b/book/src/install.md @@ -61,10 +61,11 @@ Helix also needs it's runtime files so make sure to copy/symlink the `runtime/` config directory (for example `~/.config/helix/runtime` on Linux/macOS). This location can be overridden via the `HELIX_RUNTIME` environment variable. -| OS | command | -|-----------|-----------| -|windows |`xcopy runtime %AppData%/helix/runtime`| -|linux/macos|`ln -s $PWD/runtime ~/.config/helix/runtime` +| OS | command | +|-------------------|-----------| +|windows(cmd.exe) |`xcopy runtime %AppData%/helix/runtime` | +|windows(powershell)|`xcopy runtime $Env:AppData\helix\runtime` | +|linux/macos |`ln -s $PWD/runtime ~/.config/helix/runtime`| ## Finishing up the installation