zsh-users
 help / Atom feed
From: Peng Yu <pengyu.ut@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>,
	Peng Yu <pengyu.ut@gmail.com>,  zsh-users <zsh-users@zsh.org>
Subject: Re: Observe what profiles are loaded?
Date: Fri, 6 Sep 2019 13:45:13 -0500
Message-ID: <CABrM6wm2QqiRz=VH7P5U5guXG_y-245ms=-sw9cF40PmdhnRNQ@mail.gmail.com> (raw)
In-Reply-To: <20190906181450.GA61162@eeyore.my.domain>

I don't follow the documentation of `-o`. Could you please explain
what it means?

       Options may be specified by name using the -o option.  -o acts  like  a
       single-letter  option, but takes a following string as the option name.

On 9/6/19, Andreas Kusalananda Kähäri <andreas.kahari@abc.se> wrote:
> On Fri, Sep 06, 2019 at 10:49:23AM -0700, Bart Schaefer wrote:
>> On Fri, Sep 6, 2019 at 8:47 AM Peng Yu <pengyu.ut@gmail.com> wrote:
>> >
>> > It describes what files are loaded by zsh. But I like to monitor the
>> > progress in action. Is there a way to print the file whenever a file
>> > is loaded? Thanks.
>>
>> In ~/.zshenv, add
>>
>> setopt SOURCE_TRACE
>>
>> This will miss /etc/zshenv but report everything else.  This is a
>> fairly recent option, older versions do not have it.
>
> Starting the shell with
>
>     zsh -o SOURCE_TRACE
>
> should cover /etc/zshenv
>


-- 
Regards,
Peng

  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 [this message]
2019-09-06 20:29       ` Bart Schaefer

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='CABrM6wm2QqiRz=VH7P5U5guXG_y-245ms=-sw9cF40PmdhnRNQ@mail.gmail.com' \
    --to=pengyu.ut@gmail.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

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