1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-16 08:09:45 +01:00
home-manager/tests/modules/programs/wezterm/zsh-integration-enabled.nix
Olmo Kramer 24d590cc32
wezterm: add integrations for Bash and Zsh (#3934)
* wezterm: Add `enableBashIntegration` option

* wezterm: Add `enableZshIntegration` option
2023-06-05 22:46:18 +02:00

17 lines
290 B
Nix

{ ... }:
{
programs.zsh.enable = true;
programs.wezterm = {
enable = true;
enableZshIntegration = true;
};
test.stubs.wezterm = { };
test.stubs.zsh = { };
nmt.script = ''
assertFileContains home-files/.zshrc 'source "@wezterm@/etc/profile.d/wezterm.sh"'
'';
}