mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-27 11:21:32 +00:00
Avoid double filter for completions in zsh
This commit is contained in:
parent
8b02b89bd6
commit
0e0e25f986
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ def zsh_input_parser(data):
|
|||
def zsh_output_serializer(ans):
|
||||
lines = []
|
||||
for description, matches in ans.match_groups.items():
|
||||
output = ['compadd', '-J', shlex.quote(description), '-X', shlex.quote(description), '--']
|
||||
output = ['compadd', '-U', '-J', shlex.quote(description), '-X', shlex.quote(description), '--']
|
||||
for word, description in matches.items():
|
||||
output.append(shlex.quote(word))
|
||||
lines.append(' '.join(output) + ';')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue