nixos/thefuck: fix programs.thefuck.alias for fish

This option was previously ignored when using fish as the shell.
This commit is contained in:
Luflosi 2022-05-01 17:54:31 +02:00
parent cd3a3510dc
commit 9add6bdfc8
No known key found for this signature in database
GPG key ID: 4E41E29EDCC345D0

View file

@ -33,7 +33,7 @@ in
programs.bash.interactiveShellInit = initScript;
programs.zsh.interactiveShellInit = mkIf prg.zsh.enable initScript;
programs.fish.interactiveShellInit = mkIf prg.fish.enable ''
${pkgs.thefuck}/bin/thefuck --alias | source
${pkgs.thefuck}/bin/thefuck --alias ${cfg.alias} | source
'';
};
}