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