mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-12-27 22:43:41 +08:00
Update Install.md
Adds steps to install zsh-autosuggestions via Homebrew Formulae.
This commit is contained in:
parent
a411ef3e09
commit
c14ad9fc46
16
INSTALL.md
16
INSTALL.md
|
@ -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`.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user