nushell: Add net plugin, enable shell_integration
This commit is contained in:
parent
373e4ebb4f
commit
4fdff06b85
2 changed files with 3 additions and 0 deletions
|
@ -33,6 +33,7 @@ $env.config = {
|
||||||
metric: false # true => KB, MB, GB (ISO standard), false => KiB, MiB, GiB (Windows standard)
|
metric: false # true => KB, MB, GB (ISO standard), false => KiB, MiB, GiB (Windows standard)
|
||||||
}
|
}
|
||||||
show_banner: false
|
show_banner: false
|
||||||
|
shell_integration: true
|
||||||
|
|
||||||
hooks: {
|
hooks: {
|
||||||
command_not_found: { |cmdname| (
|
command_not_found: { |cmdname| (
|
||||||
|
|
|
@ -4,6 +4,7 @@ let
|
||||||
cfg = config.eboskma.programs.nushell;
|
cfg = config.eboskma.programs.nushell;
|
||||||
|
|
||||||
zoxideOptions = concatStringsSep " " config.programs.zoxide.options;
|
zoxideOptions = concatStringsSep " " config.programs.zoxide.options;
|
||||||
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.eboskma.programs.nushell = { enable = mkEnableOption "nu shell"; };
|
options.eboskma.programs.nushell = { enable = mkEnableOption "nu shell"; };
|
||||||
|
@ -35,6 +36,7 @@ in
|
||||||
|
|
||||||
register ${pkgs.nushellPlugins.query}/bin/nu_plugin_query
|
register ${pkgs.nushellPlugins.query}/bin/nu_plugin_query
|
||||||
register ${pkgs.nushellPlugins.formats}/bin/nu_plugin_formats
|
register ${pkgs.nushellPlugins.formats}/bin/nu_plugin_formats
|
||||||
|
register ${pkgs.nushellPlugins.net}/bin/nu_plugin_net
|
||||||
|
|
||||||
use kink.nu
|
use kink.nu
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue