mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-19 21:55:13 +00:00
fish completions dont want quoting
This commit is contained in:
parent
f4b3948168
commit
cbbd9f475e
1 changed files with 2 additions and 2 deletions
|
|
@ -283,9 +283,9 @@ def bash_output_serializer(ans: Completions) -> str:
|
|||
@output_serializer
|
||||
def fish_output_serializer(ans: Completions) -> str:
|
||||
lines = []
|
||||
for matches in ans.match_groups.values():
|
||||
for description, matches in ans.match_groups.items():
|
||||
for word in matches:
|
||||
lines.append(shlex.quote(word))
|
||||
lines.append(word.replace('\n', ''))
|
||||
# debug('\n'.join(lines))
|
||||
return '\n'.join(lines)
|
||||
# }}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue