mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-12-30 00:03:56 +08:00
add label for zsh-autosuggestions
This commit is contained in:
parent
b18f01a256
commit
c5567cf371
|
@ -6,9 +6,11 @@
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
git clone git://github.com/tarruda/zsh-autosuggestions ~/.zsh-autosuggestions
|
$ git clone git://github.com/tarruda/zsh-autosuggestions ~/.zsh-autosuggestions
|
||||||
|
|
||||||
cat >> ~/.zshrc << "EOF"
|
$ cat >> ~/.zshrc << "EOF"
|
||||||
|
|
||||||
|
# setup zsh-autosuggestions
|
||||||
source ~/.zsh-autosuggestions/autosuggestions.zsh
|
source ~/.zsh-autosuggestions/autosuggestions.zsh
|
||||||
|
|
||||||
# Enable autosuggestions automatically
|
# Enable autosuggestions automatically
|
||||||
|
@ -21,6 +23,7 @@ zle -N zle-line-init
|
||||||
# zsh-autosuggestions is designed to be unobtrusive)
|
# zsh-autosuggestions is designed to be unobtrusive)
|
||||||
bindkey '^T' autosuggest-toggle
|
bindkey '^T' autosuggest-toggle
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Any widget that moves the cursor to the right(forward-word, forward-char...)
|
Any widget that moves the cursor to the right(forward-word, forward-char...)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user