From e1b856e9f03a9843c3575a12566bac18f808e7db Mon Sep 17 00:00:00 2001 From: MilesCranmer Date: Mon, 22 Apr 2024 12:05:05 +0100 Subject: [PATCH] Add `substring` to default config as option --- crates/nu-utils/src/sample_config/default_config.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu-utils/src/sample_config/default_config.nu b/crates/nu-utils/src/sample_config/default_config.nu index c5ee5811e4..7f52668151 100644 --- a/crates/nu-utils/src/sample_config/default_config.nu +++ b/crates/nu-utils/src/sample_config/default_config.nu @@ -206,7 +206,7 @@ $env.config = { case_sensitive: false # set to true to enable case-sensitive completions quick: true # set this to false to prevent auto-selecting completions when only one remains partial: true # set this to false to prevent partial filling of the prompt - algorithm: "prefix" # prefix or fuzzy + algorithm: "prefix" # prefix or fuzzy or substring external: { enable: true # set to false to prevent nushell looking into $env.PATH to find more suggestions, `false` recommended for WSL users as this look up may be very slow max_results: 100 # setting it lower can improve completion performance at the cost of omitting some options