mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-19 13:45:16 +00:00
...
This commit is contained in:
parent
3d76c916a5
commit
cb09ae3e84
1 changed files with 1 additions and 1 deletions
|
|
@ -648,7 +648,7 @@ def find_completions(words: Sequence[str], new_word: bool, entry_points: Iterabl
|
|||
return ans
|
||||
words = words[1:]
|
||||
if not words or (len(words) == 1 and not new_word):
|
||||
if words[0].startswith('--') and '=' in words[0]:
|
||||
if words and words[0].startswith('--') and '=' in words[0]:
|
||||
complete_cli(ans, words, new_word, options_for_completion(), complete_kitty_cli_arg)
|
||||
return ans
|
||||
prefix = words[0] if words else ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue