Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Can we have an additional output option for setopt?
- X-seq: zsh-users 16734
- From: Larry Schrof <larrys@xxxxxx>
- To: "zsh-users@xxxxxxx" <zsh-users@xxxxxxx>
- Subject: Can we have an additional output option for setopt?
- Date: Wed, 18 Jan 2012 20:20:13 +0000
- Accept-language: en-US
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fb.com; h=from : to : subject : date : message-id : content-type : mime-version; s=facebook; bh=mU+NpXLzN5uBG2aO3H+Sw8UzFVFNxUL/DezGRlW9230=; b=DvhVtpkWosjxPMIyEB9c2C/bg+HQK+aqs4T3PoRFd9KkKCo/vAiRb+Nul3p1Mc7QuRCn nkQSuwvfH3BV1XXsXZ6pSrAsGlNmWij3KY1KSYHQu1rgydhcvxmlHIsZ6fDFCvVvPOrH PKMUZH6YDPjdMk6lYo2DNPF3c/0mh+HBb2Y=
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Thread-index: AQHM1h6VQ2ChmHzLTEekbRazwP76AQ==
- Thread-topic: Can we have an additional output option for setopt?
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...
Messages sorted by:
Reverse Date,
Date,
Thread,
Author