From 573b38bd4bc24f2b310024a59516081dd3c52258 Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Sun, 31 May 2020 22:39:21 -0400 Subject: [PATCH] Add zsh-autosuggestions --- .zshrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.zshrc b/.zshrc index 2114c5c..93eb702 100644 --- a/.zshrc +++ b/.zshrc @@ -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)"