Update strategy

This commit is contained in:
David Tomaschik
2021-03-01 23:09:40 -08:00
parent fae178e8ac
commit 6e095d9fbc

View File

@@ -121,9 +121,11 @@ if [[ $- == *i* ]] ; then
fi fi
# Suggestions # Suggestions
if test -f /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh ; then if test -f /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh ; then
source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh
# Works well for solarized # Works well for solarized
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=10" ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=10"
# Strategy
ZSH_AUTOSUGGEST_STRATEGY=(history completion)
source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh
fi fi
fi # End interactive-only block fi # End interactive-only block