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

Re: localoptions, emulate -L, and top-level shell



Bart Schaefer wrote on Fri, Dec 02, 2016 at 15:50:33 -0800:
> I'm wondering whether "setopt localoptions", including via "emulate -L",
> perhaps ought to at least grumble if its state changes from unset to set
> at the top level of an interactive shell.
> 
> Can wait until after 5.3, obviously.  Just thinking "aloud."

Perhaps some people intentionally setopt localoptions in .zshrc so that
no plugin can change global options... but then, a plugin doing «setopt
nolocaloptions foo» would still set 'foo' globally, despite the zshrc
setting.



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