From 244825b9e1959939e1c08fe942a288d10eb6da69 Mon Sep 17 00:00:00 2001 From: 川田 恵氏 (Kawada Keishi a.k.a megumish) Date: Tue, 5 Jul 2022 02:32:46 +0900 Subject: Add runtime `xcopy` command on powershell in docs (#2958) --- README.md | 9 +++++---- book/src/install.md | 9 +++++---- 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 -- cgit v1.2.3-70-g09d2