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 11:44:58 -0500	[thread overview]
Message-ID: <A9173145-A448-417F-BF49-F883EA030610@easesoftware.com> (raw)
In-Reply-To: <CAH+w=7Ywe7oDqFaG8m9iy9x6gj1Xnh2DXkhn5N2md0N0_rFrJQ@mail.gmail.com>



> On Mar 26, 2022, at 11:39, Bart Schaefer <schaefer@brasslantern.com> wrote:
> 
> On Sat, Mar 26, 2022 at 6:53 AM Perry Smith <pedz@easesoftware.com> wrote:
>> 
>> Yet when I do “unsetopt” at the very top of my /etc/zshenv file, it says:
>> 
>>> noglobalrcs
>>> norcs
> 
> Double negative.  "unsetopt" shows the options that are not set, so
> "not no globalrcs" == "globalrcs".  In another bit of oddness that's
> probably gone unnoticed for 30 years, "setopt" shows you the options
> that are not the same as the defaults, and "unsetopt" shows you the
> options that are the same as the defaults.  (Unless the kshoptionprint
> option is set, in which case both show you everything.)

Oh dear…  That is definitely where my confusing is coming from.

Can I get the current state of all options (regardless of matching the 
default or not)?



  reply	other threads:[~2022-03-26 16:45 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 [this message]
2022-03-26 16:48     ` Bart Schaefer
2022-03-26 17:04       ` Perry Smith
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=A9173145-A448-417F-BF49-F883EA030610@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).