From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 8da90ce4 for ; Fri, 6 Sep 2019 17:50:16 +0000 (UTC) Received: (qmail 25400 invoked by alias); 6 Sep 2019 17:50:09 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 24225 Received: (qmail 21233 invoked by uid 1010); 6 Sep 2019 17:50:09 -0000 X-Qmail-Scanner-Diagnostics: from mail-lj1-f170.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.101.2/25559. spamassassin: 3.4.2. Clear:RC:0(209.85.208.170):SA:0(-1.9/5.0):. Processed in 0.820015 secs); 06 Sep 2019 17:50:09 -0000 X-Envelope-From: schaefer@brasslantern.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.208.170 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1vaZXjFRYHYmBxkRV5Waa7rBuzII8dpXhE/F7pF4QBk=; b=TPWtC9uPDgbPhyI1uNPf6kuRi3LKxLpPrWz+a6ws4boKL2nwe8AMPX43xgnhGlUxGk qHquk9ZDjVJP50IN90s2wxS8vADbEf9moLum+QDmJmxF5wwNUt/Pht8MKm9fA9wM8D76 lLfPs2nUW6TvuWj6Jx/H5fdVOcUGTMkkLCaXwJDc7ADBELbN+xHG8pHKlk8Rz6CuXBI3 wB8EN6W0L7mfU7KepWHe9cOJIPGdDmYq4VKRWmcgvbqumJl/qROBG6Dk97TiPz/CLuSh +9I+1PzxaL6bxNrYMqXuUIn0oNkyWTwgbJd0UlTNfeN1s5xL+t8fcmEd1pQOjkKCii2s jH3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1vaZXjFRYHYmBxkRV5Waa7rBuzII8dpXhE/F7pF4QBk=; b=mIiolr3cw/QwZPnMRwtV4Zt/iyCsEmgXPMdYPPyCi86Uy4ZA5rVb5rI3dz4R3juIHu 9/iIeT7wuX+egSmXnRzeukfbnBuX6IhhPh533KrS8jfg8wUG8NNCN1HoFvPykYT+tWrr UhKB3iXZUejydS0JS6L9s/dnNrjEy5MlCwY6jieNmpWQngfEOmpHtkDN9EWLGzo52d96 dterIOl67WnpZ0a0lp20UA6eA7VGa4HDBIisWFKqaP+VetYOBhrWmzh63+6ZW4Sghtdn AIvh+XDBRo2aIEyvs1SJ51FegsBX4dM5sbT/wQ3GRoVrZDhZMAwk5sFWOSyv4fU2e/dT zZxA== X-Gm-Message-State: APjAAAX26EydYmTHMdCWUvVy/Ycrs+qhqxJd0ENUnRpzskQy2ZWHA2ha yCPgSgtzmMpYfgjWmUq9W6xSCBys/J4p2PRR7ydSWbz1Epg= X-Google-Smtp-Source: APXvYqzzPKNca6Z5skq7HSQNQwqyhbORptFDay3nGEOCERHbkSWcoVPE3OewUK2ULLZ9B4mnE/VEmd3miHOQerLQ3sg= X-Received: by 2002:a2e:9597:: with SMTP id w23mr6415380ljh.147.1567792174583; Fri, 06 Sep 2019 10:49:34 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Bart Schaefer Date: Fri, 6 Sep 2019 10:49:23 -0700 Message-ID: Subject: Re: Observe what profiles are loaded? To: Peng Yu Cc: zsh-users Content-Type: text/plain; charset="UTF-8" On Fri, Sep 6, 2019 at 8:47 AM Peng Yu 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.