zsh-users
 help / color / mirror / code / Atom feed
* Can we have an additional output option for setopt?
@ 2012-01-18 20:20 Larry Schrof
  2012-01-18 21:08 ` Mikael Magnusson
  0 siblings, 1 reply; 6+ messages in thread
From: Larry Schrof @ 2012-01-18 20:20 UTC (permalink / raw)
  To: zsh-users

[-- Attachment #1: Type: text/plain, Size: 1043 bytes --]

I can appreciate the logic that goes into displaying the 'no' prefix in the output of setopt. (As it pertains to defaults and minimizing the amount of output.)

However, I find myself often wanting to see every option listed by raw name, along with it's current state. And I don't care about the defaults; I'd like to see the list without the 'no' prefixes polluting the output.

I originally set KSH_OPTION_PRINT, and got this as the first few lines of output:

noaliases             off
allexport             off
noalwayslastprompt    off
alwaystoend           on
...

This is CLOSE to what I want, but what I really would like to see instead is this:

aliases               on
allexport             off
alwayslastprompt      on
alwaystoend           on
...

Could we consider adding in this functionality? I'll leave it up to the devs to decide how this functionality gets turned on and off, but part of me is thinking it should maybe be an option, perhaps called 'OPTION_PRINT_VERBOSE' or something like that...




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-01-19 19:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-18 20:20 Can we have an additional output option for setopt? Larry Schrof
2012-01-18 21:08 ` Mikael Magnusson
2012-01-19 10:04   ` Peter Stephenson
2012-01-19 19:28     ` Greg Klanderman
2012-01-19 17:41   ` Bart Schaefer
2012-01-19 18:37     ` Larry Schrof

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).