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

Re: zparseopts (Re: PATCH: _urls and _rpm)



Bart Schaefer wrote:

> ...
> 
> What I can't decide is whether I like the behavior of emptying the array
> when no matching option is found.  E.g. sometimes I think I'd like to be
> able to say
> 
> 	glob=(-g '*(^/)')
> 	zparseopts -D -E g:=glob
> 
> and have $glob be unchanged unless a -g really was given.  Then I think
> about it some more and decide maybe not.  Then I think about it some more
> and ...

<Grin> I once had that, then took it out again, then put it in again,
then... 

Should we add an option for this?

Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



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