mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-25 17:52:02 +02:00
Cleanup previous PR
This commit is contained in:
@@ -383,7 +383,7 @@ class Tab: # {{{
|
|||||||
import shlex
|
import shlex
|
||||||
with suppress(OSError):
|
with suppress(OSError):
|
||||||
with open(old_exe) as f:
|
with open(old_exe) as f:
|
||||||
cmd_rest = cmd[1:] if len(cmd) > 1 else []
|
cmd_rest = cmd[1:]
|
||||||
cmd = [kitty_exe(), '+hold']
|
cmd = [kitty_exe(), '+hold']
|
||||||
if f.read(2) == '#!':
|
if f.read(2) == '#!':
|
||||||
line = f.read(4096).splitlines()[0]
|
line = f.read(4096).splitlines()[0]
|
||||||
|
|||||||
Reference in New Issue
Block a user