ssh kitten: Add a kitty-tool wrapper script to auto-download and use kitty-tool
Needs testing.
This commit is contained in:
@@ -70,7 +70,7 @@ class TestBuild(BaseTest):
|
||||
q = stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH
|
||||
return mode & q == q
|
||||
|
||||
for x in ('kitty', 'askpass.py'):
|
||||
for x in ('kitty', 'kitty-tool', '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):
|
||||
|
||||
@@ -144,7 +144,8 @@ copy --exclude */w.* d1
|
||||
contents.discard(f'{tname}/78/xterm-kitty')
|
||||
self.ae(contents, {
|
||||
'g.1', 'g.2', f'{tname}/kitty.terminfo', 'simple-file', 'd1/d2/x', 'd1/y', 'a/sfa', 's1', 's2',
|
||||
'.local/share/kitty-ssh-kitten/kitty/version', '.local/share/kitty-ssh-kitten/kitty/bin/kitty'
|
||||
'.local/share/kitty-ssh-kitten/kitty/version', '.local/share/kitty-ssh-kitten/kitty/bin/kitty',
|
||||
'.local/share/kitty-ssh-kitten/kitty/bin/kitty-tool'
|
||||
})
|
||||
self.ae(len(glob.glob(f'{remote_home}/{tname}/*/xterm-kitty')), 2)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user