television: Add nushell support
This commit is contained in:
parent
01415693b0
commit
521d5ea1a2
1 changed files with 4 additions and 0 deletions
|
|
@ -86,6 +86,7 @@ in
|
|||
enableBashIntegration = lib.hm.shell.mkBashIntegrationOption { inherit config; };
|
||||
enableZshIntegration = lib.hm.shell.mkZshIntegrationOption { inherit config; };
|
||||
enableFishIntegration = lib.hm.shell.mkFishIntegrationOption { inherit config; };
|
||||
enableNushellIntegration = lib.hm.shell.mkNushellIntegrationOption { inherit config; };
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
|
@ -114,5 +115,8 @@ in
|
|||
programs.fish.interactiveShellInit = lib.mkIf cfg.enableFishIntegration ''
|
||||
source ${cfg.package}/share/television/completion.fish
|
||||
'';
|
||||
programs.nushell = lib.mkIf cfg.enableNushellIntegration {
|
||||
extraConfig = "source ${cfg.package}/share/television/completion.nu";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue