1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00

tests/thefuck: explicit stubbing

Avoid the removal alias exception

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
(cherry picked from commit 812b43b45d)
This commit is contained in:
Austin Horstman 2025-06-06 08:48:50 -05:00
parent f69497fd57
commit 8c3352d32f
3 changed files with 12 additions and 2 deletions

View file

@ -1,6 +1,10 @@
{ config, ... }:
{
programs = {
thefuck.enable = true;
thefuck = {
enable = true;
package = config.lib.test.mkStubPackage { outPath = "@thefuck@"; };
};
thefuck.enableBashIntegration = false;
thefuck.enableFishIntegration = false;
thefuck.enableZshIntegration = false;

View file

@ -1,7 +1,9 @@
{ config, ... }:
{
programs = {
thefuck = {
enable = true;
package = config.lib.test.mkStubPackage { outPath = "@thefuck@"; };
enableInstantMode = true;
};
bash.enable = true;

View file

@ -1,6 +1,10 @@
{ config, ... }:
{
programs = {
thefuck.enable = true;
thefuck = {
enable = true;
package = config.lib.test.mkStubPackage { outPath = "@thefuck@"; };
};
bash.enable = true;
fish.enable = true;
zsh.enable = true;