mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-11-18 09:51:06 +01:00
36e25eaea1
OBS repository is provided as fallback, since the official package is not included in all supported releases.
2.7 KiB
2.7 KiB
Installation
Packages
System | Package |
---|---|
Debian | zsh-autosuggestions (or OBS repository for old releases) |
Ubuntu | zsh-autosuggestions (or OBS repository for old releases) |
Fedora / CentOS / RHEL / Scientific Linux | zsh-autosuggestions OBS repository |
OpenSUSE / SLE | zsh-autosuggestions OBS repository |
Arch Linux / Manjaro / Antergos / Hyperbola | zsh-autosuggestions, zsh-autosuggestions-git |
NixOS | zsh-autosuggestions |
Void Linux | zsh-autosuggestions |
Mac OS | homebrew |
NetBSD | pkgsrc |
Antigen
-
Add the following to your
.zshrc
:antigen bundle zsh-users/zsh-autosuggestions
-
Start a new terminal session.
Oh My Zsh
-
Clone this repository into
$ZSH_CUSTOM/plugins
(by default~/.oh-my-zsh/custom/plugins
)git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
-
Add the plugin to the list of plugins for Oh My Zsh to load (inside
~/.zshrc
):plugins=(zsh-autosuggestions)
-
Start a new terminal session.
Manual (Git Clone)
-
Clone this repository somewhere on your machine. This guide will assume
~/.zsh/zsh-autosuggestions
.git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions
-
Add the following to your
.zshrc
:source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
-
Start a new terminal session.