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

14 lines
266 B
Nix

{ ... }:
{
programs.bash.enable = true;
# Bash integration is enabled by default.
programs.wezterm.enable = true;
test.stubs.wezterm = { };
nmt.script = ''
assertFileContains home-files/.bashrc 'source "@wezterm@/etc/profile.d/wezterm.sh"'
'';
}