ssh kitten: Install kitty bootstrap on systems other than linux/darwin as now we have kitten which works on more types of systems

This commit is contained in:
Kovid Goyal
2023-01-31 20:16:20 +05:30
parent df45a4e759
commit 8bdd4d0596
2 changed files with 0 additions and 7 deletions

View File

@@ -261,8 +261,6 @@ def exec_with_shell_integration():
def install_kitty_bootstrap():
kitty_remote = os.environ.pop('KITTY_REMOTE', '')
if os.uname().sysname not in ('Linux', 'Darwin'):
return
kitty_exists = shutil.which('kitty')
if kitty_remote == 'yes' or (kitty_remote == 'if-needed' and not kitty_exists):
kitty_dir = os.path.join(data_dir, 'kitty', 'bin')