From 6e095d9fbc5661ba3296c20b93b0dfa13109a6a2 Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Mon, 1 Mar 2021 23:09:40 -0800 Subject: [PATCH] Update strategy --- dotfiles/zshrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dotfiles/zshrc b/dotfiles/zshrc index 4b634d3..95ee6dd 100755 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -121,9 +121,11 @@ if [[ $- == *i* ]] ; then fi # Suggestions if test -f /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh ; then - source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh # Works well for solarized ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=10" + # Strategy + ZSH_AUTOSUGGEST_STRATEGY=(history completion) + source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh fi fi # End interactive-only block