Update README command table (#3224)

This commit is contained in:
Kyle L. Davis 2022-07-28 05:37:10 -05:00 committed by GitHub
parent 9ed9c3faca
commit cca83af3fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,5 @@
# Helix # Helix
[![Build status](https://github.com/helix-editor/helix/actions/workflows/build.yml/badge.svg)](https://github.com/helix-editor/helix/actions) [![Build status](https://github.com/helix-editor/helix/actions/workflows/build.yml/badge.svg)](https://github.com/helix-editor/helix/actions)
![Screenshot](./screenshot.png) ![Screenshot](./screenshot.png)
@ -49,11 +48,11 @@ # Installation
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(cmd.exe) |`xcopy runtime %AppData%/helix/runtime` | | Windows (cmd.exe) | `xcopy runtime %AppData%\helix\runtime` |
|windows(powershell)|`xcopy runtime $Env:AppData\helix\runtime` | | Windows (PowerShell) | `xcopy runtime $Env:AppData\helix\runtime` |
|linux/macos |`ln -s $PWD/runtime ~/.config/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.