1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 11:36:05 +01:00
home-manager/tests/modules/programs/lazygit/fish-integration-enabled.nix
SunOfLife1 8929c5f3bc test/lazygit: add fish integration test
This does also add a test module for lazygit since there wasn't one
already
2025-11-06 09:06:14 -06:00

18 lines
376 B
Nix

{ config, ... }:
{
programs.fish.enable = true;
home.preferXdgDirectories = false;
programs.lazygit = {
enable = true;
shellWrapperName = "lg";
enableFishIntegration = true;
};
nmt.script = ''
assertFileContent home-files/.config/fish/functions/${config.programs.lazygit.shellWrapperName}.fish \
${./fish-integration-expected.fish}
'';
}