You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't want to use zi (because zpmod would be the only thing I'd use it for). And even less so sh <(curl ...). There are multiple reasons against the latter.
It doesn't provide system-wide installation of the plugin.
It's not possible to integrate this with standard package managers, for example to build a .deb package.
The auto-update part in the install script also is problematic from a sysadmin / security perspective
So I tried:
Checking out the repo.
./configure --enable-cflags='-g -Wall -Wextra -O3' --disable-gdbm --without-tcsetpgrp && make -j$(nproc) (it seems that make runs the configure 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. 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.
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
I'd be willing to address this documentation request myself.
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.
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
The text was updated successfully, but these errors were encountered: