mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-14 05:29:20 +03:00
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.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
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue