aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author川田 恵氏 (Kawada Keishi a.k.a megumish)2022-07-04 17:32:46 +0000
committerGitHub2022-07-04 17:32:46 +0000
commit244825b9e1959939e1c08fe942a288d10eb6da69 (patch)
tree0a9b07227c9e6f6c36adb7bb34e1cdb667cfc92b
parente58d28a9728fd5d451c98c48bd20c57fb9eec7dc (diff)
Add runtime `xcopy` command on powershell in docs (#2958)
-rw-r--r--README.md9
-rw-r--r--book/src/install.md9
2 files changed, 10 insertions, 8 deletions
diff --git a/README.md b/README.md
index 032ecf67..48c24de7 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 bf59ea23..045e2255 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