Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH 3/5: _imagemagick: complete all files if image files didn't match



Mikael Magnusson wrote:
> -  _files "$@" -g "*.(#i)(${~formats//:/|})(-.)"
> +  _files "$@" -g "*.(#i)(${~formats//:/|})(-.)" || _files "$@"

_files already does this internally, configurable via the file-patterns
style. From zsh -f or in my full setup, this already works for me. This
same change might equally be applicable to every use of _files with -g
that we have.

You might want to instead check your file-patterns styles to see what
you've configured that broke this.

Oliver



Messages sorted by: Reverse Date, Date, Thread, Author