From 54f12d97ddcb9830036d6e8ca7691360c8e67b6f Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Wed, 10 Jul 2024 22:11:11 +0200 Subject: [PATCH] fix nushell --- home-modules/nushell/default.nix | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/home-modules/nushell/default.nix b/home-modules/nushell/default.nix index 6e08c2b..241960d 100644 --- a/home-modules/nushell/default.nix +++ b/home-modules/nushell/default.nix @@ -10,30 +10,8 @@ in { programs = { nushell = { enable = true; - extraConfig = '' - let carapace_completer = {|spans| - carapace $spans.0 nushell $spans | from json - } - $env.config = { - show_banner: false, - completions: { - case_sensitive: false - quick: true - partial: true - algorithm: "fuzzy" - external: { - enable: true - max_results: 100 - completer: $carapace_completer - } - } - } - ''; - shellAliases = { - vi = "nvim"; - vim = "nvim"; - }; }; + carapace.enable = true; carapace.enableNushellIntegration = true;