diff options
author | Luflosi <luflosi@luflosi.de> | 2022-05-01 17:54:31 +0200 |
---|---|---|
committer | Luflosi <luflosi@luflosi.de> | 2022-05-01 18:08:36 +0200 |
commit | 9add6bdfc8eff26a0ecbd9efbb74f9397dafa89c (patch) | |
tree | adc8f4b282f55f85e54aa53f566ca370979378ed /nixos/modules/programs | |
parent | cd3a3510dc34e9ec89257f6ea84671241922b8bc (diff) |
nixos/thefuck: fix programs.thefuck.alias for fish
This option was previously ignored when using fish as the shell.
Diffstat (limited to 'nixos/modules/programs')
-rw-r--r-- | nixos/modules/programs/thefuck.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/programs/thefuck.nix b/nixos/modules/programs/thefuck.nix index b909916158d38..fa5f8290c6228 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 ''; }; } |