diff --git a/options.xhtml b/options.xhtml index 11c733f81..e8000c1be 100644 --- a/options.xhtml +++ b/options.xhtml @@ -56641,7 +56641,8 @@ null or string
The strategies in the array are tried successively until a suggestion is found. There are currently three built-in strategies to choose from:history: Chooses the most recent match from history.
completion: Chooses a suggestion based on what tab-completion would suggest. (requires zpty module)
match_prev_cmd: Like history, but chooses the most recent match whose preceding history item matches
the most recently executed command. Note that this strategy won’t work as expected with ZSH options that
-don’t preserve the history order such as HIST_IGNORE_ALL_DUPS or HIST_EXPIRE_DUPS_FIRST.
HIST_IGNORE_ALL_DUPS or HIST_EXPIRE_DUPS_FIRST.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”)