From 4fdff06b85a04765f2816524c5b195ccc49a2b63 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Thu, 30 Nov 2023 08:58:20 +0100 Subject: [PATCH] nushell: Add net plugin, enable shell_integration --- home-manager/modules/nushell/config.nu | 1 + home-manager/modules/nushell/default.nix | 2 ++ 2 files changed, 3 insertions(+) diff --git a/home-manager/modules/nushell/config.nu b/home-manager/modules/nushell/config.nu index 51e6812..73aa4b0 100644 --- a/home-manager/modules/nushell/config.nu +++ b/home-manager/modules/nushell/config.nu @@ -33,6 +33,7 @@ $env.config = { metric: false # true => KB, MB, GB (ISO standard), false => KiB, MiB, GiB (Windows standard) } show_banner: false + shell_integration: true hooks: { command_not_found: { |cmdname| ( diff --git a/home-manager/modules/nushell/default.nix b/home-manager/modules/nushell/default.nix index 8ac6c64..0447620 100644 --- a/home-manager/modules/nushell/default.nix +++ b/home-manager/modules/nushell/default.nix @@ -4,6 +4,7 @@ let cfg = config.eboskma.programs.nushell; zoxideOptions = concatStringsSep " " config.programs.zoxide.options; + in { options.eboskma.programs.nushell = { enable = mkEnableOption "nu shell"; }; @@ -35,6 +36,7 @@ in register ${pkgs.nushellPlugins.query}/bin/nu_plugin_query register ${pkgs.nushellPlugins.formats}/bin/nu_plugin_formats + register ${pkgs.nushellPlugins.net}/bin/nu_plugin_net use kink.nu