zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zzapper <zsh@rayninfo.co.uk>
Cc: Zsh-Users List <zsh-users@zsh.org>
Subject: Re: zstat
Date: Tue, 3 May 2022 07:54:01 -0700	[thread overview]
Message-ID: <CAH+w=7aNqirVQ58X1JKS33hLHkqiN+gc7UMxdwSQLj2Qi9aRuQ@mail.gmail.com> (raw)
In-Reply-To: <e01cd4e5-97d9-d256-4ae5-f1ce80ac5194@rayninfo.co.uk>

On Tue, May 3, 2022 at 7:25 AM zzapper <zsh@rayninfo.co.uk> wrote:
>
> I have zstat on my system (mint) & works just fine.
>
> I don't have it if I run
>
>  > zsh -f
>
> e.g. I don't have this zmodload -F zsh/stat in my .zsh* configs

And presumably you also don't have zmodload without the -F.

> Q1) Can you help

That remains to be seen.

> Q2) How do you find out where you might have configured an zsh add-on etc

Place this in your .zshenv:

function zmodload() { builtin zmodload "$@" }
functions -T zmodload

This should print a trace each time zmodload is run.  (If it doesn't,
check that you haven't changed $ZDOTDIR)

Then run

zsh -o sourcetrace

which traces one line for every file read with the "source" or "."
commands.  Between the two you should be able to see exactly where
zsh/stat is coming from.


  reply	other threads:[~2022-05-03 14:57 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-03 14:25 zstat zzapper
2022-05-03 14:54 ` Bart Schaefer [this message]
2022-05-03 15:11   ` zstat zzapper
2022-05-03 15:57     ` zstat Peter Stephenson
2022-05-03 16:34       ` zstat zzapper
2022-05-04  0:36         ` zstat Bart Schaefer
2022-05-04  6:43           ` zstat zzapper
2022-05-04  7:18             ` zstat Bart Schaefer
2022-05-04  9:31               ` zstat david rayner
2022-05-04  9:49                 ` zstat Roman Perepelitsa
2022-05-04 12:09                   ` zstat david rayner
2022-05-04 12:26                     ` zstat zzapper
2022-05-04 13:21                       ` zstat Peter Stephenson

Reply instructions:

You may reply publicly 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='CAH+w=7aNqirVQ58X1JKS33hLHkqiN+gc7UMxdwSQLj2Qi9aRuQ@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=zsh-users@zsh.org \
    --cc=zsh@rayninfo.co.uk \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).