zsh-users
 help / Atom feed
From: "Andreas Kusalananda Kähäri" <andreas.kahari@abc.se>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: Peng Yu <pengyu.ut@gmail.com>, zsh-users <zsh-users@zsh.org>
Subject: Re: Observe what profiles are loaded?
Date: Fri, 6 Sep 2019 20:14:50 +0200
Message-ID: <20190906181450.GA61162@eeyore.my.domain> (raw)
In-Reply-To: <CAH+w=7a5xLs29TGmiGvuzmx2N3jKoP-eZk7DNupoC7TGTL=t9w@mail.gmail.com>

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

  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 [this message]
2019-09-06 18:45     ` Peng Yu
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=20190906181450.GA61162@eeyore.my.domain \
    --to=andreas.kahari@abc.se \
    --cc=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