mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
Merge branch 'fix-which' of https://github.com/page-down/kitty
This commit is contained in:
@@ -434,6 +434,8 @@ class Tab: # {{{
|
||||
cmd = resolved_shell(get_options())
|
||||
elif not is_executable:
|
||||
import shlex
|
||||
|
||||
from .utils import which
|
||||
with suppress(OSError):
|
||||
with open(old_exe) as f:
|
||||
if f.read(2) == '#!':
|
||||
|
||||
Reference in New Issue
Block a user