Looks you needed to still call compadd to set a completion for the current function call, otherwise it kept trying to re-run the completion.
This made it look like Enter wasn't accepting results in fzf (you could hit Enter 3 times and it would eventually work), and the single match repeated 3 times, as I suspect there is some completion retry if it fails, but didn't look for that answer.
I've left the clearing of the results in, as I think it might be good hygiene.
Closes #780 and #775
Looks you needed to still call
compadd
to set a completion for the current function call, otherwise it kept trying to re-run the completion.This made it look like
Enter
wasn't accepting results in fzf (you could hitEnter
3 times and it would eventually work), and the single match repeated 3 times, as I suspect there is some completion retry if it fails, but didn't look for that answer.I've left the clearing of the results in, as I think it might be good hygiene.