Skip to content

[docs]: How to install the traditional way? #28

Description

@ppetr

Description

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.
  • There have been far to many security exploits based on this (see for example https://0x46.net/thoughts/2019/04/27/piping-curl-to-shell/ for a discussion).
  • 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.

Have you read the Contributing Guidelines?

Are you familiar with the Contributor Covenant Code of Conduct?

Contact Details

No response

Metadata

Metadata

Assignees

Labels

type:docsDocumentation-only work.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions