2023-10-01 16:41:55 +02:00
|
|
|
{ ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
programs = {
|
|
|
|
thefuck.enable = true;
|
|
|
|
bash.enable = true;
|
|
|
|
zsh.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
test.stubs.thefuck = { };
|
|
|
|
|
|
|
|
nmt.script = ''
|
|
|
|
assertFileExists home-files/.bashrc
|
|
|
|
assertFileContains \
|
|
|
|
home-files/.bashrc \
|
2023-10-12 23:25:31 +02:00
|
|
|
'eval "$(@thefuck@/bin/thefuck '"'"'--alias'"'"')"'
|
2023-10-01 16:41:55 +02:00
|
|
|
|
|
|
|
assertFileExists home-files/.zshrc
|
|
|
|
assertFileContains \
|
|
|
|
home-files/.zshrc \
|
2023-10-12 23:25:31 +02:00
|
|
|
'eval "$(@thefuck@/bin/thefuck '"'"'--alias'"'"')"'
|
2023-10-01 16:41:55 +02:00
|
|
|
'';
|
|
|
|
}
|