From 9add6bdfc8eff26a0ecbd9efbb74f9397dafa89c Mon Sep 17 00:00:00 2001 From: Luflosi Date: Sun, 1 May 2022 17:54:31 +0200 Subject: [PATCH] nixos/thefuck: fix programs.thefuck.alias for fish This option was previously ignored when using fish as the shell. --- nixos/modules/programs/thefuck.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/programs/thefuck.nix b/nixos/modules/programs/thefuck.nix index b909916158d3..fa5f8290c622 100644 --- a/nixos/modules/programs/thefuck.nix +++ b/nixos/modules/programs/thefuck.nix @@ -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 ''; }; }