test/lazygit: add fish integration test
This does also add a test module for lazygit since there wasn't one already
This commit is contained in:
parent
d375dfc1ff
commit
8929c5f3bc
3 changed files with 29 additions and 0 deletions
18
tests/modules/programs/lazygit/fish-integration-enabled.nix
Normal file
18
tests/modules/programs/lazygit/fish-integration-enabled.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ 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}
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue