zsh-users
 help / 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 index

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 publically 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='CAH+w=7aGUQfoXpomZFYE2xPWOvCQwS96FuWaidNX3g+_1Xnyrg@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=pengyu.ut@gmail.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

zsh-users

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

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.zsh.users


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