1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-01 08:49:44 +01:00
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"'
'';
}