Add runtime `xcopy` command on powershell in docs (#2958)

pull/2963/head
川田 恵氏 (Kawada Keishi a.k.a megumish) 2 years ago committed by GitHub
parent e58d28a972
commit 244825b9e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 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). config directory (for example `~/.config/helix/runtime` on Linux/macOS, or `%AppData%/helix/runtime` on Windows).
| OS | command | | OS | command |
|-----------|-----------| |-------------------|-----------|
|windows |`xcopy runtime %AppData%/helix/runtime`| |windows(cmd.exe) |`xcopy runtime %AppData%/helix/runtime` |
|linux/macos|`ln -s $PWD/runtime ~/.config/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. This location can be overridden via the `HELIX_RUNTIME` environment variable.

@ -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 config directory (for example `~/.config/helix/runtime` on Linux/macOS). This location can be overridden
via the `HELIX_RUNTIME` environment variable. via the `HELIX_RUNTIME` environment variable.
| OS | command | | OS | command |
|-----------|-----------| |-------------------|-----------|
|windows |`xcopy runtime %AppData%/helix/runtime`| |windows(cmd.exe) |`xcopy runtime %AppData%/helix/runtime` |
|linux/macos|`ln -s $PWD/runtime ~/.config/helix/runtime` |windows(powershell)|`xcopy runtime $Env:AppData\helix\runtime` |
|linux/macos |`ln -s $PWD/runtime ~/.config/helix/runtime`|
## Finishing up the installation ## Finishing up the installation

Loading…
Cancel
Save