mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-25 01:38:02 +02:00
Dont serialize the launch cmd if it is the shell
This commit is contained in:
@@ -2003,7 +2003,8 @@ class Window:
|
|||||||
ans.append(f'--type={t}')
|
ans.append(f'--type={t}')
|
||||||
|
|
||||||
if self.creation_spec and self.creation_spec.cmd:
|
if self.creation_spec and self.creation_spec.cmd:
|
||||||
ans.extend(self.creation_spec.cmd)
|
if self.creation_spec.cmd != resolved_shell(get_options()):
|
||||||
|
ans.extend(self.creation_spec.cmd)
|
||||||
return ans
|
return ans
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user