mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-11-25 10:01:05 +01:00
Merge pull request #76 from thorerik/patch-1
Avoid bell on all keysrtokes
This commit is contained in:
commit
ec1d251dad
1 changed files with 3 additions and 3 deletions
|
@ -17,13 +17,13 @@ ZSH assumes this file in your home directory (i.e. `~/.zshrc`), but the location
|
||||||
[Zgen](https://github.com/tarjoilija/zgen) is a simple and fast plugin manager for ZSH.
|
[Zgen](https://github.com/tarjoilija/zgen) is a simple and fast plugin manager for ZSH.
|
||||||
If you don’t use zgen, then use instructions for the manual installation.
|
If you don’t use zgen, then use instructions for the manual installation.
|
||||||
|
|
||||||
1. Load `tarruda/zsh-autosuggestions` and `jimmijj/zsh-syntax-highlighting` using zgen in your .zshrc file, for example:
|
1. Load `tarruda/zsh-autosuggestions` and `zsh-users/zsh-syntax-highlighting` using zgen in your .zshrc file, for example:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
if ! zgen saved; then
|
if ! zgen saved; then
|
||||||
echo "Creating a zgen save"
|
echo "Creating a zgen save"
|
||||||
|
|
||||||
zgen load jimmijj/zsh-syntax-highlighting
|
zgen load zsh-users/zsh-syntax-highlighting
|
||||||
|
|
||||||
# autosuggestions should be loaded last
|
# autosuggestions should be loaded last
|
||||||
zgen load tarruda/zsh-autosuggestions
|
zgen load tarruda/zsh-autosuggestions
|
||||||
|
@ -56,7 +56,7 @@ If you don’t use zgen, then use instructions for the manual installation.
|
||||||
2. Clone zsh-syntax-highlighting repository to `~/.zsh/zsh-syntax-highlighting` (or anywhere else):
|
2. Clone zsh-syntax-highlighting repository to `~/.zsh/zsh-syntax-highlighting` (or anywhere else):
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
git clone git://github.com/jimmijj/zsh-syntax-highlighting ~/.zsh/zsh-syntax-highlighting
|
git clone git://github.com/zsh-users/zsh-syntax-highlighting ~/.zsh/zsh-syntax-highlighting
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Load and enable autosuggestions; copy the following snippet and put it to your .zshrc file:
|
3. Load and enable autosuggestions; copy the following snippet and put it to your .zshrc file:
|
||||||
|
|
Loading…
Reference in a new issue