On 03/05/2022 15:54, Bart Schaefer wrote:
On Tue, May 3, 2022 at 7:25 AM zzapper <zsh@xxxxxxxxxxxxxx> wrote:
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.
Bart
function zmodload() { builtin zmodload "$@" }
functions -T zmodload
I guess the following generically loads anything in zsh/files ?
+zmodload:0> zmodload -F zsh/files b:zf_chown b:zf_mv b:zf_rm
zzapper