mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-28 11:11:47 +02:00
Dont show hidden sub-commands during completion
This commit is contained in:
@@ -92,9 +92,8 @@ def completion(self: TestCompletion, tdir: str):
|
||||
self.assertEqual(cp.returncode, 0, f'kitten __complete__ failed with exit code: {cp.returncode}')
|
||||
return json.loads(cp.stdout)
|
||||
|
||||
add('kitty ', has_words('@', '@ls', '+', '+open'))
|
||||
add('kitty ', has_words('@', '+', '+open'))
|
||||
add('kitty @ l', has_words('ls', 'last-used-layout', 'launch'))
|
||||
add('kitty @l', has_words('@ls', '@last-used-layout', '@launch'))
|
||||
|
||||
def make_file(path, mode=None):
|
||||
with open(os.path.join(tdir, path), mode='x') as f:
|
||||
|
||||
Reference in New Issue
Block a user