Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Observe what profiles are loaded?



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.



Messages sorted by: Reverse Date, Date, Thread, Author