Add zsh-autosuggestions

This commit is contained in:
Dave Gallant
2020-05-31 22:39:21 -04:00
parent b919c89757
commit 573b38bd4b

8
.zshrc
View File

@@ -1,10 +1,13 @@
# oh-my-zsh
export ZSH=$HOME/.oh-my-zsh
plugins=(fzf git zsh-syntax-highlighting last-working-dir)
plugins=(fzf git zsh-syntax-highlighting last-working-dir zsh-autosuggestions)
# case-sensitive completion
CASE_SENSITIVE="true"
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#838383,underline"
ZSH_AUTOSUGGEST_STRATEGY=(history completion)
# Disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
@@ -41,8 +44,5 @@ eval "$(_RFD_COMPLETE=source_zsh rfd)"
# broot
source $HOME/.config/broot/launcher/bash/br
# zoxide
eval "$(zoxide init zsh)"
# starship
eval "$(starship init zsh)"