From f6fae09924fea40c6859f7079587e679de0c91c2 Mon Sep 17 00:00:00 2001 From: teto Date: Fri, 26 Jul 2024 12:29:22 +0000 Subject: [PATCH] deploy: bc2b96acda50229bc99925dde5c8e561e90b0b00 --- options.xhtml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/options.xhtml b/options.xhtml index 761ca3d29..5798c243f 100644 --- a/options.xhtml +++ b/options.xhtml @@ -53500,6 +53500,36 @@ null or string

Example: "fg=#ff00ff,bg=cyan,bold,underline"

+

Declared by:

+ + +
+ +<home-manager/modules/programs/zsh.nix> + +
+ +
+ + 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:

  • 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.

+ +

Type: +list of (one of “history”, “completion”, “match_prev_cmd”)

+ +

Default:

[
+  "history"
+]
+
+

Declared by: