|
1 | 1 | # Installation
|
2 | 2 |
|
3 |
| -* [Manual](#manual-git-clone) |
| 3 | +* [Packages](#packages) |
4 | 4 | * [Antigen](#antigen)
|
5 | 5 | * [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) |
18 | 7 |
|
19 |
| - ```sh |
20 |
| - source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh |
21 |
| - ``` |
| 8 | +## Packages |
22 | 9 |
|
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) | |
24 | 20 |
|
25 | 21 | ## Antigen
|
26 | 22 |
|
|
48 | 44 |
|
49 | 45 | 3. Start a new terminal session.
|
50 | 46 |
|
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) |
70 | 48 |
|
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`. |
72 | 50 |
|
73 | 51 | ```sh
|
74 |
| - brew install zsh-autosuggestions |
| 52 | + git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions |
75 | 53 | ```
|
76 | 54 |
|
77 | 55 | 2. Add the following to your `.zshrc`:
|
78 | 56 |
|
79 | 57 | ```sh
|
80 |
| - source /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh |
| 58 | + source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh |
81 | 59 | ```
|
82 | 60 |
|
83 | 61 | 3. Start a new terminal session.
|
0 commit comments