From de1ab142aad55b2d72eae27eef4059a1a8b412a5 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 26 Feb 2025 15:45:09 +0530 Subject: [PATCH] Dont propagate VTE_VERSION VTE stupidly installs the shell integration script system wide keyed on the presence of VTE_VERSION env var. Which will be set if kitty is launched from a VTE based terminal. Sigh. --- kitty/child.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kitty/child.py b/kitty/child.py index 89e0c1828..be8d8a463 100644 --- a/kitty/child.py +++ b/kitty/child.py @@ -151,6 +151,7 @@ def process_env() -> dict[str, str]: if ssl_env_var is not None: ans.pop(ssl_env_var, None) ans.pop('XDG_ACTIVATION_TOKEN', None) + ans.pop('VTE_VERSION', None) # Used by the stupid VTE shell integration script that is installed system wide, sigh return ans