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

This commit is contained in:
川田 恵氏 (Kawada Keishi a.k.a megumish) 2022-07-05 02:32:46 +09:00 committed by GitHub
parent e58d28a972
commit 244825b9e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 8 deletions

View File

@ -49,10 +49,11 @@ # Installation
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.

View File

@ -61,10 +61,11 @@ ## Build from source
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