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

Re: Option Options



> I also like the idea that Bart has espoused of having little or no options
> show up in setopt's output if the shell is running in a default manner.
> The following patch will undoubtedly be controversial, but it changes the
> (un)setopt commands to take into account if this option is on by default
> in the current emulation mode.  Here's the output I get running it with
> "zsh -f":
> 
> % setopt
> interactive
> monitor
> norcs
> shinstdin
> zle

I like this idea.

> Note that all the "special" options show up.  This could be changed if
> someone wished to mark them as OPT_SPECIAL|OPT_ALL (or whatever).

That's fine because they have no real default value.

Zoltan



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