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.
This commit is contained in:
Kovid Goyal
2025-02-26 15:45:09 +05:30
parent 4fb61ac8f3
commit de1ab142aa

View File

@@ -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