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

Re: zstat




On 03/05/2022 16:57, Peter Stephenson wrote:
On 03 May 2022 at 16:11 zzapper <zsh@xxxxxxxxxxxxxx> wrote:
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
No, if you consult the manual page you'll see that's exactly what
it doesn't do.

-F is for features, so you're explicitly loading just those three
builtins, zf_chown, zf_mv, zf_rm from zsh/files, and nothing else.

pws

then bart's other suggestion reveals:-


> zsh -o sourcetrace
+/home/david/.zshenv:1> <sourcetrace>
+/home/david/.zshrc:1> <sourcetrace>
+/home/david/.zcompdump:1> <sourcetrace>
+/home/david/key-bindings.zsh:1> <sourcetrace>
+/usr/local/bin/plugin/z/zsh-z.plugin.zsh:1> <sourcetrace>
+/usr/local/bin/plugin/alias-tips/alias-tips.plugin.zsh:1> <sourcetrace>





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