git-worktree-switcher: init module
This commit is contained in:
parent
59fe145f0b
commit
9c8169b446
8 changed files with 121 additions and 1 deletions
17
tests/modules/programs/git-worktree-switcher/fish.nix
Normal file
17
tests/modules/programs/git-worktree-switcher/fish.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
programs = {
|
||||
fish.enable = true;
|
||||
git-worktree-switcher.enable = true;
|
||||
};
|
||||
|
||||
test.stubs.git-worktree-switcher = { name = "git-worktree-switcher"; };
|
||||
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.config/fish/config.fish
|
||||
assertFileContains \
|
||||
home-files/.config/fish/config.fish \
|
||||
'@git-worktree-switcher@/bin/git-worktree-switcher init fish | source'
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue