mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
nixos/pay-respects: fix interactiveShellInit for fish and zsh
Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
(cherry picked from commit c346fd5125
)
This commit is contained in:
parent
bc84a4af0b
commit
b89e0bf06f
@ -11,6 +11,7 @@ let
|
||||
mkEnableOption
|
||||
mkIf
|
||||
mkOption
|
||||
optionalString
|
||||
types
|
||||
;
|
||||
inherit (types) str;
|
||||
@ -48,8 +49,8 @@ in
|
||||
|
||||
programs = {
|
||||
bash.interactiveShellInit = initScript "bash";
|
||||
fish.interactiveShellInit = mkIf config.programs.fish.enable initScript "fish";
|
||||
zsh.interactiveShellInit = mkIf config.programs.zsh.enable initScript "zsh";
|
||||
fish.interactiveShellInit = optionalString config.programs.fish.enable (initScript "fish");
|
||||
zsh.interactiveShellInit = optionalString config.programs.zsh.enable (initScript "zsh");
|
||||
};
|
||||
};
|
||||
meta.maintainers = with maintainers; [ sigmasquadron ];
|
||||
|
Loading…
Reference in New Issue
Block a user