Skip to content

Commit 3baf946

Browse files
authored
Merge pull request #459 from zsh-users/meta/package-installation-links
Add package links to install docs (#222)
2 parents ac4f0b2 + 01dce89 commit 3baf946

File tree

1 file changed

+17
-39
lines changed

1 file changed

+17
-39
lines changed

INSTALL.md

Lines changed: 17 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,22 @@
11
# Installation
22

3-
* [Manual](#manual-git-clone)
3+
* [Packages](#packages)
44
* [Antigen](#antigen)
55
* [Oh My Zsh](#oh-my-zsh)
6-
* [Arch Linux](#arch-linux)
7-
* [macOS via Homebrew](#macos-via-homebrew)
8-
9-
## Manual (Git Clone)
10-
11-
1. Clone this repository somewhere on your machine. This guide will assume `~/.zsh/zsh-autosuggestions`.
12-
13-
```sh
14-
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions
15-
```
16-
17-
2. Add the following to your `.zshrc`:
6+
* [Manual](#manual-git-clone)
187

19-
```sh
20-
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
21-
```
8+
## Packages
229

23-
3. Start a new terminal session.
10+
| System | Package |
11+
| ------------- | ------------- |
12+
| Debian / Ubuntu | [zsh-autosuggestions OBS repository](https://software.opensuse.org/download.html?project=shells%3Azsh-users%3Azsh-autosuggestions&package=zsh-autosuggestions) |
13+
| Fedora / CentOS / RHEL / Scientific Linux | [zsh-autosuggestions OBS repository](https://software.opensuse.org/download.html?project=shells%3Azsh-users%3Azsh-autosuggestions&package=zsh-autosuggestions) |
14+
| OpenSUSE / SLE | [zsh-autosuggestions OBS repository](https://software.opensuse.org/download.html?project=shells%3Azsh-users%3Azsh-autosuggestions&package=zsh-autosuggestions) |
15+
| Arch Linux / Manjaro / Antergos / Hyperbola | [zsh-autosuggestions](https://www.archlinux.org/packages/zsh-autosuggestions), [zsh-autosuggestions-git](https://aur.archlinux.org/packages/zsh-autosuggestions-git) |
16+
| NixOS | [zsh-autosuggestions](https://github.com/NixOS/nixpkgs/blob/master/pkgs/shells/zsh/zsh-autosuggestions/default.nix) |
17+
| Void Linux | [zsh-autosuggestions](https://github.com/void-linux/void-packages/blob/master/srcpkgs/zsh-autosuggestions/template) |
18+
| Mac OS | [homebrew](https://github.com/Homebrew/homebrew-core/blob/master/Formula/zsh-autosuggestions.rb) |
19+
| NetBSD | [pkgsrc](http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/shells/zsh-autosuggestions/README.html) |
2420

2521
## Antigen
2622

@@ -48,36 +44,18 @@
4844

4945
3. Start a new terminal session.
5046

51-
## Arch Linux
52-
53-
1. Install [`zsh-autosuggestions`](https://www.archlinux.org/packages/community/any/zsh-autosuggestions/) from the `community` repository.
54-
55-
```sh
56-
pacman -S zsh-autosuggestions
57-
```
58-
59-
or, to use a package based on the `master` branch, install [`zsh-autosuggestions-git`](https://aur.archlinux.org/packages/zsh-autosuggestions-git/) from the [AUR](https://wiki.archlinux.org/index.php/Arch_User_Repository).
60-
61-
2. Add the following to your `.zshrc`:
62-
63-
```sh
64-
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
65-
```
66-
67-
3. Start a new terminal session.
68-
69-
## macOS via Homebrew
47+
## Manual (Git Clone)
7048

71-
1. Install the `zsh-autosuggestions` package using [Homebrew](https://brew.sh/).
49+
1. Clone this repository somewhere on your machine. This guide will assume `~/.zsh/zsh-autosuggestions`.
7250

7351
```sh
74-
brew install zsh-autosuggestions
52+
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions
7553
```
7654

7755
2. Add the following to your `.zshrc`:
7856

7957
```sh
80-
source /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh
58+
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
8159
```
8260

8361
3. Start a new terminal session.

0 commit comments

Comments
 (0)