mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 16:37:27 +00:00
Dont serialize the launch cmd if it is the shell
This commit is contained in:
parent
035ce949b4
commit
f5d305c0df
1 changed files with 2 additions and 1 deletions
|
|
@ -2003,7 +2003,8 @@ class Window:
|
|||
ans.append(f'--type={t}')
|
||||
|
||||
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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue