antonmedv/fx

No autocomplete in `zsh` when JSON doesn't end with a new line

Closed this issue · 0 comments

Hi there, the autocomplete in zsh doesn't work when there is no \n at the end of the JSON file.

Recording.2024-04-08.212806.mp4

Not working JSON (no \n):
image

Working JSON (with \n, marked as N here):

image

Env

fx: 34.0.0
OS: Arch Linux
Shell: zsh 5.9

Note

Only the autocomplete is not working, the fx commands run as expected.