zsh autocompletion script has syntax errors

Description:

When trying to autocomplete a path with eza, installed I get parse error.

eza-0.18.20-1 adds two lines in /usr/share/zsh/site-functions/_eza

        --no-symlinks"[Do not show symbolic links]"
        --show-symlinks"[Explictly show symbolic links: for use with '--only-dirs'| '--only-files']"

but, as you can see, they are missing the end-of-line escapes and should have been like this:

        --no-symlinks"[Do not show symbolic links]" \
        --show-symlinks"[Explictly show symbolic links: for use with '--only-dirs'| '--only-files']" \

I haven't checked the completions definitions for other shells.

Additional info:

  • package version(s): 0.18.20-1

Steps to reproduce:

❯ eza /h<TAB>
_eza:77: parse error near `\n'
Edited by Massimiliano Torromeo
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information