mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
broot: Add nushell integration (#4714)
Add additional config flag `enableNushellIntegration` in broot.nix to setup broot/br for nushell.
This commit is contained in:
parent
e504e8d01f
commit
948703f3e7
1 changed files with 11 additions and 0 deletions
|
@ -175,6 +175,14 @@ in {
|
|||
'';
|
||||
};
|
||||
|
||||
enableNushellIntegration = mkOption {
|
||||
default = true;
|
||||
type = types.bool;
|
||||
description = ''
|
||||
Whether to enable Nushell integration.
|
||||
'';
|
||||
};
|
||||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.broot;
|
||||
|
@ -226,5 +234,8 @@ in {
|
|||
programs.zsh.initExtra = mkIf cfg.enableZshIntegration (shellInit "zsh");
|
||||
|
||||
programs.fish.shellInit = mkIf cfg.enableFishIntegration (shellInit "fish");
|
||||
|
||||
programs.nushell.extraConfig =
|
||||
mkIf cfg.enableNushellIntegration (shellInit "nushell");
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue