It must be an issue with homebrew's zsh then. I've reported it at https://github.com/mxcl/homebrew/issues/19499 Thanks again. -- Russell Harmon On Sun, Apr 28, 2013 at 11:25 PM, Bart Schaefer wrote: > On Apr 28, 10:44pm, Russell Harmon wrote: > } > } I'm also a little confused here. > } > } emulate -R sh -o noshglob -c 'foo() {; setopt; }'; foo > } enables MAIL_WARNING while > } emulate -R sh -o shglob -c 'foo() {; setopt; }'; foo > } fails to enable shglob > > This and the crash you reported make me think you have a bad compile; > at least some of of your modules have the wrong mapping for symbolic > constants that represent options. If you built zsh yourself, I > suggest a clean compile; if it's a system package, please report the > error to the package maintainer ASAP. > > -- > Barton E. Schaefer >