Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Observe what profiles are loaded?
- X-seq: zsh-users 24228
- From: Peng Yu <pengyu.ut@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, Peng Yu <pengyu.ut@xxxxxxxxx>, zsh-users <zsh-users@xxxxxxx>
- Subject: Re: Observe what profiles are loaded?
- Date: Fri, 6 Sep 2019 13:45:13 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-transfer-encoding; bh=Gd6vZGPYXMnrKfav8Wn3PglZJCOJRLGdTLa/g/ydCKU=; b=Ujnwn8R5VEc+/h2PI0g6XMZZnr3w7Ukz1V62v275a65VFFmNUSp53iSzeAw91Bgxyw DLvQMqHxKcdXeenTYd8rqza8Z0D7dxipkIzjFPo4z3fskVqJ6wXjLpmNu822OBc1+/Wo MhbzGDeMlF94lNUl5DTObc33JYRUV7PIB1uhkOeDub2+A//7UKAlBjB/HP6n5PG1WWoz cMS8rAXSHkHo5n45mqWkdRVR3Jw6j3vEK9pQwnvi3SH/uhDyelpUsbgXIEfJT8EfZOgW tZ2+5c6dAPxVKm1v0+QbhiJOSrpkm7Mz9cjSaV2Ak+WZi/GxR6F8tdqdqUJjibDTcntA ypqg==
- In-reply-to: <20190906181450.GA61162@eeyore.my.domain>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CABrM6wnqGu+yaQAg3hfvhYaG0OKvAL0svbqRD1ZHsKAnzcRP1g@mail.gmail.com> <CAH+w=7a5xLs29TGmiGvuzmx2N3jKoP-eZk7DNupoC7TGTL=t9w@mail.gmail.com> <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@xxxxxx> 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@xxxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author