1
0
mirror of https://github.com/nix-community/home-manager synced 2024-07-06 05:13:28 +02: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

17 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"'
'';
}