From d6f4aee0ccf47dea61204f4af44d8eed2e65f96c Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Sat, 26 Sep 2026 22:23:04 +0100 Subject: Use zsh for Canonical Zellij panes --- tests/test_canonical.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'tests') diff --git a/tests/test_canonical.py b/tests/test_canonical.py index 1a9be82..724b922 100644 --- a/tests/test_canonical.py +++ b/tests/test_canonical.py @@ -150,6 +150,23 @@ class PackageTests(unittest.TestCase): class RoleTests(unittest.TestCase): + def test_canonical_zellij_uses_zsh_without_changing_other_roles(self): + for role in ("canonical", "host", "vm"): + rendered = subprocess.check_output( + self.command( + role, + "execute-template", + "--file", + str(ROOT / "dot_config/zellij/config.kdl.tmpl"), + ), + text=True, + ) + if role == "canonical": + self.assertIn('/.nix-profile/bin/zsh"', rendered) + self.assertIn('default_shell "', rendered) + else: + self.assertNotIn("default_shell", rendered) + def test_canonical_ghostty_has_no_window_decoration(self): rendered = subprocess.check_output( self.command( -- cgit v1.3.1