mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-09 15:08:13 +02:00
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:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user