mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-29 04:11:49 +00:00
Fix #7844
This commit is contained in:
parent
31aa4bc96d
commit
7a3edb0367
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ class Env(RemoteCommand):
|
|||
env = default_env().copy()
|
||||
for k, v in new_env.items():
|
||||
if k.endswith('='):
|
||||
env.pop(k, None)
|
||||
env.pop(k[:-1], None)
|
||||
else:
|
||||
env[k] = expandvars(v or '', env)
|
||||
set_default_env(env)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue