mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-26 10:12:17 +02:00
Rename kitty-tool to kitten
It's easier to type, and cuter. Also, most, if not all of the TUI parts of kitty's kittens will eventually be re-written into kitten. The only downside I can see is that we cant tab complete kitty anymore, but hopefully there will be less reason to run kitty from the shell as command line tools migrate to kitten. Meowrrrr!!!
This commit is contained in:
@@ -15,12 +15,12 @@ from . import BaseTest
|
||||
class TestBuild(BaseTest):
|
||||
|
||||
def test_exe(self) -> None:
|
||||
from kitty.constants import kitty_exe, kitty_tool_exe, str_version
|
||||
from kitty.constants import kitty_exe, kitten_exe, str_version
|
||||
exe = kitty_exe()
|
||||
self.assertTrue(os.access(exe, os.X_OK))
|
||||
self.assertTrue(os.path.isfile(exe))
|
||||
self.assertIn('kitty', os.path.basename(exe))
|
||||
exe = kitty_tool_exe()
|
||||
exe = kitten_exe()
|
||||
self.assertTrue(os.access(exe, os.X_OK))
|
||||
self.assertTrue(os.path.isfile(exe))
|
||||
self.assertIn(str_version, subprocess.check_output([exe, '--version']).decode())
|
||||
@@ -68,7 +68,7 @@ class TestBuild(BaseTest):
|
||||
q = stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH
|
||||
return mode & q == q
|
||||
|
||||
for x in ('kitty', 'kitty-tool', 'askpass.py'):
|
||||
for x in ('kitty', 'kitten', 'askpass.py'):
|
||||
x = os.path.join(shell_integration_dir, 'ssh', x)
|
||||
self.assertTrue(is_executable(x), f'{x} is not executable')
|
||||
if getattr(sys, 'frozen', False):
|
||||
|
||||
Reference in New Issue
Block a user