on master help sign in
Add runtime `xcopy` command on powershell in docs (#2958)
244825b川田 恵氏 (Kawada Keishi a.k.a megumish)
README.md+5−4
@@ -49,10 +49,11 @@ tree-sitter grammars may be manually fetched and built with `hx --grammar fetch`
49Helix also needs its runtime files so make sure to copy/symlink the `runtime/` directory into the
49Helix also needs its runtime files so make sure to copy/symlink the `runtime/` directory into the
50config directory (for example `~/.config/helix/runtime` on Linux/macOS, or `%AppData%/helix/runtime` on Windows).
50config directory (for example `~/.config/helix/runtime` on Linux/macOS, or `%AppData%/helix/runtime` on Windows).
51
51
52−| OS | command |
52+| OS | command |
53−|-----------|-----------|
53+|-------------------|-----------|
54−|windows |`xcopy runtime %AppData%/helix/runtime`|
54+|windows(cmd.exe) |`xcopy runtime %AppData%/helix/runtime` |
55+|windows(powershell)|`xcopy runtime $Env:AppData\helix\runtime` |
55−|linux/macos|`ln -s $PWD/runtime ~/.config/helix/runtime`
56+|linux/macos |`ln -s $PWD/runtime ~/.config/helix/runtime`|
56
57
57This location can be overridden via the `HELIX_RUNTIME` environment variable.
58This location can be overridden via the `HELIX_RUNTIME` environment variable.
58
59
book/src/install.md+5−4
@@ -61,10 +61,11 @@ Helix also needs it's runtime files so make sure to copy/symlink the `runtime/`
61config directory (for example `~/.config/helix/runtime` on Linux/macOS). This location can be overridden
61config directory (for example `~/.config/helix/runtime` on Linux/macOS). This location can be overridden
62via the `HELIX_RUNTIME` environment variable.
62via the `HELIX_RUNTIME` environment variable.
63
63
64−| OS | command |
64+| OS | command |
65−|-----------|-----------|
65+|-------------------|-----------|
66−|windows |`xcopy runtime %AppData%/helix/runtime`|
66+|windows(cmd.exe) |`xcopy runtime %AppData%/helix/runtime` |
67+|windows(powershell)|`xcopy runtime $Env:AppData\helix\runtime` |
67−|linux/macos|`ln -s $PWD/runtime ~/.config/helix/runtime`
68+|linux/macos |`ln -s $PWD/runtime ~/.config/helix/runtime`|
68
69
69## Finishing up the installation
70## Finishing up the installation
70
71