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

Re: zstat



> 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




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