mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-13 12:31:07 +01:00
tests/thefuck: explicit stubbing
Avoid the removal alias exception Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
b2483b45e6
commit
812b43b45d
3 changed files with 12 additions and 2 deletions
|
|
@ -1,6 +1,10 @@
|
||||||
|
{ config, ... }:
|
||||||
{
|
{
|
||||||
programs = {
|
programs = {
|
||||||
thefuck.enable = true;
|
thefuck = {
|
||||||
|
enable = true;
|
||||||
|
package = config.lib.test.mkStubPackage { outPath = "@thefuck@"; };
|
||||||
|
};
|
||||||
thefuck.enableBashIntegration = false;
|
thefuck.enableBashIntegration = false;
|
||||||
thefuck.enableFishIntegration = false;
|
thefuck.enableFishIntegration = false;
|
||||||
thefuck.enableZshIntegration = false;
|
thefuck.enableZshIntegration = false;
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
|
{ config, ... }:
|
||||||
{
|
{
|
||||||
programs = {
|
programs = {
|
||||||
thefuck = {
|
thefuck = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = config.lib.test.mkStubPackage { outPath = "@thefuck@"; };
|
||||||
enableInstantMode = true;
|
enableInstantMode = true;
|
||||||
};
|
};
|
||||||
bash.enable = true;
|
bash.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,10 @@
|
||||||
|
{ config, ... }:
|
||||||
{
|
{
|
||||||
programs = {
|
programs = {
|
||||||
thefuck.enable = true;
|
thefuck = {
|
||||||
|
enable = true;
|
||||||
|
package = config.lib.test.mkStubPackage { outPath = "@thefuck@"; };
|
||||||
|
};
|
||||||
bash.enable = true;
|
bash.enable = true;
|
||||||
fish.enable = true;
|
fish.enable = true;
|
||||||
zsh.enable = true;
|
zsh.enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue