1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-30 15:09:46 +01:00
home-manager/tests/modules/programs/wezterm/zsh-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

15 lines
287 B
Nix

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