help / color / mirror / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Peng Yu <pengyu.ut@gmail.com>
Cc: zsh-users <zsh-users@zsh.org>
Subject: Re: Observe what profiles are loaded?
Date: Fri, 6 Sep 2019 13:29:01 -0700
Message-ID: <CAH+w=7aGUQfoXpomZFYE2xPWOvCQwS96FuWaidNX3g+_1Xnyrg@mail.gmail.com> (raw)
In-Reply-To: <CABrM6wm2QqiRz=VH7P5U5guXG_y-245ms=-sw9cF40PmdhnRNQ@mail.gmail.com>

On Fri, Sep 6, 2019 at 11:45 AM Peng Yu <pengyu.ut@gmail.com> wrote:
> I don't follow the documentation of `-o`. Could you please explain
> what it means?

If you read "man zshoptions" you'll see that every option has a long
name (e.g., AUTO_CD or SOURCE_TRACE or XTRACE etc.), and a subset of
options also have a "single letter option" (prefixed by a hyphen).
The long name is for use with "setopt" and the single letter is for
use either with the builtin "set" command or as startup options to the
"zsh" invocation itself.  In the event that you want to pass to "zsh"
an option that does not have a "single letter" variation, you can use
"zsh -o name" where "name" is the long name of the option; in the
current example: "zsh -o SOURCE_TRACE".

      reply	other threads:[~2019-09-07  0:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-06 15:46 Peng Yu
2019-09-06 17:49 ` Bart Schaefer
2019-09-06 18:14   ` Andreas Kusalananda Kähäri
2019-09-06 18:45     ` Peng Yu
2019-09-06 20:29       ` Bart Schaefer [this message]

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH+w=7aGUQfoXpomZFYE2xPWOvCQwS96FuWaidNX3g+_1Xnyrg@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=pengyu.ut@gmail.com \
    --cc=zsh-users@zsh.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link


This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/zsh-users

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 zsh-users zsh-users/ http://inbox.vuxu.org/zsh-users \
	public-inbox-index zsh-users

Example config snippet for mirrors.
Newsgroup available over NNTP:

code repositories for the project(s) associated with this inbox:


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git