Avoid the removal alias exception Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
23 lines
715 B
Nix
23 lines
715 B
Nix
{ config, ... }:
|
|
{
|
|
programs = {
|
|
thefuck = {
|
|
enable = true;
|
|
package = config.lib.test.mkStubPackage { outPath = "@thefuck@"; };
|
|
};
|
|
thefuck.enableBashIntegration = false;
|
|
thefuck.enableFishIntegration = false;
|
|
thefuck.enableZshIntegration = false;
|
|
thefuck.enableNushellIntegration = false;
|
|
bash.enable = true;
|
|
zsh.enable = true;
|
|
nushell.enable = true;
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileNotRegex home-files/.bashrc '@thefuck@/bin/thefuck'
|
|
assertPathNotExists home-files/.config/fish/functions/fuck.fish
|
|
assertFileNotRegex home-files/.zshrc '@thefuck@/bin/thefuck'
|
|
assertFileNotRegex home-files/.config/nushell/config.nu '@thefuck@/bin/thefuck'
|
|
'';
|
|
}
|