...
This commit is contained in:
parent
3d76c916a5
commit
cb09ae3e84
@ -648,7 +648,7 @@ def find_completions(words: Sequence[str], new_word: bool, entry_points: Iterabl
|
|||||||
return ans
|
return ans
|
||||||
words = words[1:]
|
words = words[1:]
|
||||||
if not words or (len(words) == 1 and not new_word):
|
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)
|
complete_cli(ans, words, new_word, options_for_completion(), complete_kitty_cli_arg)
|
||||||
return ans
|
return ans
|
||||||
prefix = words[0] if words else ''
|
prefix = words[0] if words else ''
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user