zsh-users
 help / color / mirror / code / Atom feed
From: Perry Smith <pedz@easesoftware.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: Trying to learn ... RCS and GLOBAL_RCS
Date: Sat, 26 Mar 2022 12:04:33 -0500	[thread overview]
Message-ID: <951EC670-FE74-4BF8-99B4-BF68F569B235@easesoftware.com> (raw)
In-Reply-To: <CAH+w=7a50m9vSQPrQ5gLtM+SprZu9aAwfgHU=so7Ey++PNDb5A@mail.gmail.com>



> On Mar 26, 2022, at 11:48, Bart Schaefer <schaefer@brasslantern.com> wrote:
> 
> On Sat, Mar 26, 2022 at 9:45 AM Perry Smith <pedz@easesoftware.com> wrote:
>> 
>> Can I get the current state of all options (regardless of matching the
>> default or not)?
> 
> Your best choice is probably:
>  set -o

Yea.  That’s better.  I was working on:

( setopt | sed -e 's/$/ on/' -e 's/^no\(.*\) on$/\1 off/' ; unsetopt | sed -e 's/$/ off/' -e 's/^no\(.*\) off$/\1 on/' ) | sort

Since each option is either set to default or not.




  reply	other threads:[~2022-03-26 17:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-26 13:53 Perry Smith
2022-03-26 16:39 ` Bart Schaefer
2022-03-26 16:44   ` Perry Smith
2022-03-26 16:48     ` Bart Schaefer
2022-03-26 17:04       ` Perry Smith [this message]
2022-03-26 17:39         ` Mikael Magnusson
2022-03-26 17:05     ` Bart Schaefer
2022-03-26 17:18       ` Perry Smith

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=951EC670-FE74-4BF8-99B4-BF68F569B235@easesoftware.com \
    --to=pedz@easesoftware.com \
    --cc=schaefer@brasslantern.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).