nixos/thefuck: fix programs.thefuck.alias for fish
This option was previously ignored when using fish as the shell.
This commit is contained in:
parent
cd3a3510dc
commit
9add6bdfc8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue