Zoxide and Starship modules now have nushell integration

This commit is contained in:
Erwin Boskma 2023-04-06 10:00:23 +02:00
parent 244edccd02
commit 80646994da
Signed by: erwin
SSH key fingerprint: SHA256:CyeNoWXd3kjX2Nwu6pDxxdS7OqmPVOy0NavA/KU/ntU
2 changed files with 1 additions and 8 deletions

View file

@ -2,8 +2,6 @@
with lib; with lib;
let let
cfg = config.eboskma.programs.nushell; cfg = config.eboskma.programs.nushell;
starship-nu = pkgs.runCommand "starship-nu" { } ''${pkgs.starship}/bin/starship init nu > $out'';
zoxide-nu = pkgs.runCommand "zoxide-nu" { } ''${pkgs.zoxide}/bin/zoxide init nushell > $out'';
in in
{ {
options.eboskma.programs.nushell = { enable = mkEnableOption "nu shell"; }; options.eboskma.programs.nushell = { enable = mkEnableOption "nu shell"; };
@ -13,11 +11,6 @@ in
enable = true; enable = true;
configFile.source = ./config.nu; configFile.source = ./config.nu;
envFile.source = ./env.nu; envFile.source = ./env.nu;
extraConfig = ''
source ${starship-nu}
source ${zoxide-nu}
'';
}; };
home.packages = [ pkgs.carapace ]; home.packages = [ pkgs.carapace ];