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

Re: False alarm (nonomatch and cshnullglob)



> I should have mentioned that this implementation is not suitable for use
> in combination with "setopt localoptions" in shell functions.  If you
> use this wrapper, then your shell functions that desire localoptions need
> to always use "builtin setopt".
> 
> Having the behavior itself built in to zsh would eliminate that problem.

Note that a function can always change options of the caller by unsetting
localoptions before return.  Localoptions is always local.  See
man zshoptions for details.

Zoltan




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