From: Larry Schrof <larrys@fb.com>
To: "zsh-users@zsh.org" <zsh-users@zsh.org>
Subject: Can we have an additional output option for setopt?
Date: Wed, 18 Jan 2012 20:20:13 +0000 [thread overview]
Message-ID: <CB3C697C.3530%larrys@fb.com> (raw)
[-- 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...
next reply other threads:[~2012-01-18 20:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-18 20:20 Larry Schrof [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CB3C697C.3530%larrys@fb.com \
--to=larrys@fb.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).