[zsh] Add zsh-autosuggestion plugin

This commit is contained in:
lhark 2019-11-18 14:15:16 +00:00
parent f619a3fbed
commit c08cd4249a
3 changed files with 6 additions and 0 deletions

3
.gitmodules vendored
View file

@ -4,3 +4,6 @@
[submodule "themes/base16-kitty"]
path = themes/base16-kitty
url = https://github.com/kdrag0n/base16-kitty
[submodule "zsh-autosuggestions"]
path = zsh-autosuggestions
url = https://github.com/zsh-users/zsh-autosuggestions

1
zsh-autosuggestions Submodule

@ -0,0 +1 @@
Subproject commit d43c309f888153d6c46d8b6a3a0186f4148680fd

2
zshrc
View file

@ -213,5 +213,7 @@ bindkey "[3~" delete-char
bindkey "^[[Z" reverse-menu-complete
ZSH_AUTOSUGGEST_STRATEGY=(history completion)
source "${RC_PATH}/zsh-autosuggestions/zsh-autosuggestions.zsh"
# ZSH syntax highlighting : /!\ keep at the bottom !
source "${RC_PATH}/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh"