nixos/thefuck: fix programs.thefuck.alias for fish
This option was previously ignored when using fish as the shell.
This commit is contained in:
@@ -33,7 +33,7 @@ in
|
|||||||
programs.bash.interactiveShellInit = initScript;
|
programs.bash.interactiveShellInit = initScript;
|
||||||
programs.zsh.interactiveShellInit = mkIf prg.zsh.enable initScript;
|
programs.zsh.interactiveShellInit = mkIf prg.zsh.enable initScript;
|
||||||
programs.fish.interactiveShellInit = mkIf prg.fish.enable ''
|
programs.fish.interactiveShellInit = mkIf prg.fish.enable ''
|
||||||
${pkgs.thefuck}/bin/thefuck --alias | source
|
${pkgs.thefuck}/bin/thefuck --alias ${cfg.alias} | source
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user