nushell: Add net plugin, enable shell_integration

This commit is contained in:
Erwin Boskma 2023-11-30 08:58:20 +01:00
parent 373e4ebb4f
commit 4fdff06b85
Signed by: erwin
SSH key fingerprint: SHA256:9LmFDe1C6jSrEyqxxvX8NtJBmcbB105XoqyUZF092bg
2 changed files with 3 additions and 0 deletions

View file

@ -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| (

View file

@ -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