programs.zsh.autosuggestion.strategy

ZSH_AUTOSUGGEST_STRATEGY is an array that specifies how suggestions should be generated. The strategies in the array are tried successively until a suggestion is found. There are currently three built-in strategies to choose from:

Setting the option to an empty list [] will make ZSH_AUTOSUGGESTION_STRATEGY not be set automatically, allowing the variable to be declared in programs.zsh.localVariables or programs.zsh.sessionVariables

Type
list of (one of "history", "completion", "match_prev_cmd")
Default
[
  "history"
]
Declared
<home-manager/modules/programs/zsh>