Zoxide and Starship modules now have nushell integration
This commit is contained in:
parent
244edccd02
commit
80646994da
2 changed files with 1 additions and 8 deletions
|
@ -448,7 +448,7 @@ let-env config = {
|
||||||
keycode: char_.
|
keycode: char_.
|
||||||
mode: emacs
|
mode: emacs
|
||||||
event: [
|
event: [
|
||||||
{ edit: InsertString, value: "!$" }
|
{ edit: InsertString, value: " !$" }
|
||||||
{ send: Enter }
|
{ send: Enter }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 ];
|
||||||
|
|
Loading…
Reference in a new issue