At 17:54 +0100 18 Feb 2014, Oliver Kiddle <okiddle@xxxxxxxxxxx> wrote:
How about the following? This just uses zparseopts to get the suffixes and puts them in to each of the alternatives. The trickiest part isquoting. I've also added a compset -S call to handle an existing suffix.
IMO, that works great! Thanks.