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

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