mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-25 17:52:02 +02:00
Fix #7844
This commit is contained in:
@@ -39,7 +39,7 @@ class Env(RemoteCommand):
|
|||||||
env = default_env().copy()
|
env = default_env().copy()
|
||||||
for k, v in new_env.items():
|
for k, v in new_env.items():
|
||||||
if k.endswith('='):
|
if k.endswith('='):
|
||||||
env.pop(k, None)
|
env.pop(k[:-1], None)
|
||||||
else:
|
else:
|
||||||
env[k] = expandvars(v or '', env)
|
env[k] = expandvars(v or '', env)
|
||||||
set_default_env(env)
|
set_default_env(env)
|
||||||
|
|||||||
Reference in New Issue
Block a user