home-manager/tests/modules/programs/wezterm/bash-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

16 lines
269 B
Nix

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