[Pkg-zsh-devel] Bug#941214: mutt zsh completion broken, -a does not take email address
Daniel Shahaf
danielsh at apache.org
Fri Dec 31 03:13:07 GMT 2021
martin f krafft wrote on Fri, Dec 31, 2021 at 15:26:24 +1300:
> Regarding the following, written by "Daniel Shahaf" on 2021-12-31 at 02:16 Uhr +0000:
> > The two consecutive colons on the -a line mean the -a option takes an
> > optional argument.
>
> Herein lies the problem:
>
> ```
> -a <file> [...] -- attach file(s) to the message
> the list of files must be terminated with the "--" sequence
> ```
>
> So it's neither optional, nor even a single word by necessity.
Good catch.
I think it's possible to teach _mutt how to complete this in the general
case, but the details are better hashed out upstream (zsh-workers at zsh.org).
Cheers,
Daniel
More information about the Pkg-zsh-devel
mailing list