We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
_zsh_autosuggest_strategy_<your custom strategy name>
.zshrc
suggestion
ZSH_AUTOSUGGEST_STRATEGY
This example applies the history strategy first and if it fails to find a match then it applies the custom strategy
_zsh_autosuggest_strategy_custom() { typeset -g suggestion suggestion=`./my-custom-suggestion-script.sh "$1"` } export ZSH_AUTOSUGGEST_STRATEGY=(history custom)