Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zcompiled files not used
On Sat, Aug 07, 2021 at 13:46:40 +0200, Tomasz Pala wrote:
> This is 32-bit image for HP thin client, this time run in 64-bit
> QEMU/KVM guest. However, when I chroot into this directly from the 64-bit
> host, the behavior seems fine - there's a bunch of lstat64() without
> openat() of _zip file (esp. when I create digest functions.zwc).
Ah, the problem was missing $ZDOTDIR directory, which breaks zcompdump.
> My intention is to generate /usr/share/zsh/5.8/functions.zwc on boot:
Apparently this is not functional nor required - compinit won't prefer
zwc files over plain ones, but autoloading can make use of individual
zwc files, and .zcompdump file is 49 kB only.
> zcompile /usr/share/zsh/5.8/functions.zwc /usr/share/zsh/5.8/functions/*
>
> as the destination thin client has very slow CPU and flash drive (20 MB/s
> sequential read) and it takes over 1 second to read all the 7 MBs of
> completion files and spawn new shell each time.
--
Tomasz Pala <gotar@xxxxxxxxxxxxx>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author