From 715548b144ba5432b538df5b6e110a2e8a49f860 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 18 Jan 2024 12:52:14 +0530 Subject: [PATCH] Make test robust against wezterm's system wide shell integration Not only is it system wide but it runs by default, even outside wezterm, sigh. --- kitty_tests/shell_integration.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kitty_tests/shell_integration.py b/kitty_tests/shell_integration.py index 955cd596a..526e59f03 100644 --- a/kitty_tests/shell_integration.py +++ b/kitty_tests/shell_integration.py @@ -41,6 +41,7 @@ def basic_shell_env(home_dir): 'KITTY_INSTALLATION_DIR': kitty_base_dir, 'BASH_SILENCE_DEPRECATION_WARNING': '1', 'PYTHONDONTWRITEBYTECODE': '1', + 'WEZTERM_SHELL_SKIP_ALL': '1', # dont fail if WezTerm's system wide, default on (why?) shell integration is installed } for x in ('USER', 'LANG'): if os.environ.get(x):