Skip to content

Commit

Permalink
Remove snap aliasing instructions (helix-editor#7657)
Browse files Browse the repository at this point in the history
The helix snap now gets aliased to hx by default at installation time,
so manual aliasing should no longer be required.

Signed-off-by: Joseph Brock <joseph.brock@protonmail.com>
  • Loading branch information
atomcult authored Jul 17, 2023
1 parent e7f6061 commit 2fa576b
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions book/src/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,14 +113,7 @@ Helix is available on [Snapcraft](https://snapcraft.io/helix) and can be install
snap install --classic helix
```

This will install Helix as `/snap/bin/helix` (so make sure `/snap/bin` is in your `PATH`), which is not the preferred invocation (`hx`).
As a workaround you can manually alias the command globally with:

```sh
snap alias helix hx
```

Or, otherwise, just alias in your shell's config.
This will install Helix as both `/snap/bin/helix` and `/snap/bin/hx`, so make sure `/snap/bin` is in your `PATH`.

### AppImage

Expand Down

0 comments on commit 2fa576b

Please sign in to comment.