shell: fix and clean up plugin loading
This commit is contained in:
parent
ab61d680ac
commit
d8e2f19ced
1 changed files with 7 additions and 8 deletions
|
@ -11,11 +11,6 @@
|
|||
};
|
||||
home.packages = [
|
||||
pkgs.pueue
|
||||
pkgs.nushellPlugins.net
|
||||
pkgs.nushellPlugins.query
|
||||
pkgs.nushellPlugins.gstat
|
||||
pkgs.nushellPlugins.polars
|
||||
pkgs.nushellPlugins.formats
|
||||
];
|
||||
programs.nushell = {
|
||||
enable = true;
|
||||
|
@ -23,9 +18,13 @@
|
|||
configFile.source = ../../other/config.nu;
|
||||
envFile.source = ../../other/env.nu;
|
||||
extraConfig = ''
|
||||
plugin use ${pkgs.nushellPlugins.query}/bin/nu_plugin_query;
|
||||
plugin use ${pkgs.nushellPlugins.polars}/bin/nu_plugin_polars;
|
||||
plugin use ${pkgs.nushellPlugins.formats}/bin/nu_plugin_formats;
|
||||
plugin add ${pkgs.nushellPlugins.query}/bin/nu_plugin_query;
|
||||
plugin add ${pkgs.nushellPlugins.polars}/bin/nu_plugin_polars;
|
||||
plugin add ${pkgs.nushellPlugins.formats}/bin/nu_plugin_formats;
|
||||
|
||||
plugin use query;
|
||||
plugin use polars;
|
||||
plugin use formats;
|
||||
'';
|
||||
};
|
||||
programs.starship.enableNushellIntegration = true;
|
||||
|
|
Loading…
Reference in a new issue