Fix fish completion for programs that output trailing empty lines #1284
Some programs output extra empty lines at the end of their output, which affects the output of the
Those lines must be ignored for
To test this fix use the following commands for the program that follows.
Test program which adds extra empty lines to the output:
Some programs may output extra empty lines after the directive. Those lines must be ignored for fish shell completion to work. zsh and bash are not impacted. Signed-off-by: Marc Khouzam <email@example.com> Co-authored-by: Johannes Altmanninger <firstname.lastname@example.org>