From 7d7aa7284afd59a8311593b0873b1302f1dfcb13 Mon Sep 17 00:00:00 2001 From: Rich Seymour <105805+rseymour@users.noreply.github.com> Date: Sun, 4 Jun 2023 20:06:25 -0400 Subject: [PATCH] Update install.md instructions regarding symlinks (#7231) * Update install.md Fixes `ln` command line bug that could hit users moving from packaged to source builds. * Remove extra 'how to' command example --- book/src/install.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/book/src/install.md b/book/src/install.md index 8d80712fe8383..7483be299edb9 100644 --- a/book/src/install.md +++ b/book/src/install.md @@ -204,9 +204,11 @@ HELIX_RUNTIME=/home/user-name/src/helix/runtime Or, create a symlink in `~/.config/helix` that links to the source code directory: ```sh -ln -s $PWD/runtime ~/.config/helix/runtime +ln -Ts $PWD/runtime ~/.config/helix/runtime ``` +If the above command fails to create a symbolic link because the file exists either move `~/.config/helix/runtime` to a new location or delete it, then run the symlink command above again. + #### Windows Either set the `HELIX_RUNTIME` environment variable to point to the runtime files using the Windows setting (search for