From a44bc0b49ff3bdf3e75d6c5482aa5ec3001a6530 Mon Sep 17 00:00:00 2001 From: Ivan Dimitrov Date: Mon, 29 Jan 2024 10:56:19 +0000 Subject: [PATCH] remove carapace completer from nushell --- modules/home/programs/nushell/default.nix | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/modules/home/programs/nushell/default.nix b/modules/home/programs/nushell/default.nix index 781b274..3e49def 100644 --- a/modules/home/programs/nushell/default.nix +++ b/modules/home/programs/nushell/default.nix @@ -21,20 +21,12 @@ } ''; extraConfig = '' - let carapace_completer = {|spans| - carapace $spans.0 nushell $spans | from json - } $env.config = { show_banner: false, completions: { - quick: true - partial: true - algorithm: "fuzzy" - external: { - enable: true - max_results: 100 - completer: $carapace_completer - } + quick: true + partial: true + algorithm: "fuzzy" } } $env.PATH = ($env.PATH | split row (char esep) |