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

@ -448,7 +448,7 @@ let-env config = {
keycode: char_.
mode: emacs
event: [
{ edit: InsertString, value: "!$" }
{ edit: InsertString, value: " !$" }
{ send: Enter }
]
}

View file

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