Update Install.md

Adds steps to install zsh-autosuggestions via Homebrew Formulae.
This commit is contained in:
D 2022-10-12 13:10:21 +05:30 committed by GitHub
parent a411ef3e09
commit c14ad9fc46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,7 @@
* [Packages](#packages) * [Packages](#packages)
* [Antigen](#antigen) * [Antigen](#antigen)
* [Oh My Zsh](#oh-my-zsh) * [Oh My Zsh](#oh-my-zsh)
* [HomeBrew](#homebrew)
* [Manual](#manual-git-clone) * [Manual](#manual-git-clone)
## Packages ## Packages
@ -47,6 +48,21 @@
3. Start a new terminal session. 3. Start a new terminal session.
## Homebrew
1. Install command:
```sh
brew install zsh-autosuggestions
```
2. To activate the autosuggestions, add the following at the end of your .zshrc:
```sh
source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
```
3. Start a new terminal session.
## Manual (Git Clone) ## Manual (Git Clone)
1. Clone this repository somewhere on your machine. This guide will assume `~/.zsh/zsh-autosuggestions`. 1. Clone this repository somewhere on your machine. This guide will assume `~/.zsh/zsh-autosuggestions`.