mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-09-22 12:07:15 +03:00
Fix command names using undersore instead of hyphens in completion for the shell
This commit is contained in:
parent
0d704f3715
commit
84f914742b
@ -25,7 +25,7 @@
|
||||
|
||||
@lru_cache(maxsize=2)
|
||||
def match_commands() -> Tuple[str, ...]:
|
||||
all_commands = tuple(sorted(all_command_names()))
|
||||
all_commands = tuple(sorted(x.replace('_', '-') for x in all_command_names()))
|
||||
return tuple(sorted(all_commands + ('exit', 'help', 'quit')))
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user