Open ppetr opened 11 months ago
Hi @ppetr :wave:
I am working on your issue and will update you soon.
And where it stores the compiled files.
All files are compiled to the *.zwc
for example .zshrc
would have .zshrc.zwc
next to it.
And
zpmod source-study -l
shows loading time of some files in the order of 100ms, which I guess means they're not being compiled.
The zpmod source-study -l
shows scripts sourced in the current session, i.e.: if you source any script, e.g. source some_script.sh
or source ~/.zshenv
it will show the loading time of the sourced file. In other words, as mentioned in zpmod -h
:
Displays list of files loaded via source
or .
builtins, with a duration that each
loading lasted, in milliseconds. The module tracks all calls to those builtins and
measures the time each call took. This can be used for e.g. profile loading of plugins,
regardless of the plugin manager used.
How to install the traditional way
IMO, the tradintional way is source *.plugin.zsh
. Perhaps this repo can have a https://github.com/z-shell/zgdbm/blob/main/zgdbm.plugin.zsh to do this work?
Description
I don't want to use
zi
(becausezpmod
would be the only thing I'd use it for). And even less sosh <(curl ...)
. There are multiple reasons against the latter..deb
package.So I tried:
./configure --enable-cflags='-g -Wall -Wextra -O3' --disable-gdbm --without-tcsetpgrp && make -j$(nproc)
(it seems thatmake
runs theconfigure
script all over again).module_path+=($PWD/Src/zi) ; zmodload zpmod
But at this point I'm not able to see of/how
zpmod
is actually running. And where it stores the compiled files. I tried creating directory~/.zi
, but it's not being populated. Andzpmod source-study -l
shows loading time of some files in the order of 100ms, which I guess means they're not being compiled.BTW, the links in the bug templates to Contributing Guidelines and Contributor C. Code of Conduts are broken.
Select the area that is associated with this issue.
No response
Self-service
Have you read the Contributing Guidelines?
Are you familiar with the Contributor Covenant Code of Conduct?
Contact Details
No response