zinit icon indicating copy to clipboard operation
zinit copied to clipboard

[feat]: A few recipes for the Wiki

Open psprint opened this issue 2 years ago • 4 comments

If the feature request is for a plugin or theme, specify it here.

No response

If the feature solves a problem you have, specify it here.

No response

Describe the proposed feature.

I've got an occasion of creating a few zinit binary recipes, so I better share them :smile: Funny story, with the new configure'' ice they all look the same ;) Because of using of an yet unmerged feature the recipes should be also put on hold.

# Tig – TUI interface to Git
zinit id-as null configure make'install' for jonas/tig
# Universal Ctags – improved and maintained  `Ctags` fork
zinit id-as null configure make'install' \
        for universal-ctags/ctags
# pcre2 – library needed by `uni-ctags` for Perl regexes
zinit id-as null configure make'install' \
          for PCRE2Project/pcre2

Describe alternatives you've considered

No response

Additional context

No response

Related Issues

No response

psprint avatar Jul 07 '22 11:07 psprint

I cleaned it up a bit -- how does it look?

Tig

A ncurses-based text-mode interface for Git.

zi for \
    as'null' \
    configure \
    make'PREFIX=$PWD install' \
  jonas/tig

Universal Ctags

Improved and actively maintained Ctags implementation.

zi for \
    as'null' \
    configure \
    make'PREFIX=$PWD install' \
  universal-ctags/ctags

PCRE 2

A Perl regex library and dependency of universal-ctags

zi for \
    as'null' \
    configure \
    make'PREFIX=$PWD install' \
  PCRE2Project/pcre2

Install Universal-ctags and PCRE2 at once

zi \
    as'null' \
    configure \
    make'PREFIX=$PWD install' \
    for \
  universal-ctags/ctags \
  PCRE2Project/pcre2

vladdoster avatar Jul 25 '22 00:07 vladdoster

LGTM

psprint avatar Jul 30 '22 05:07 psprint

I've just noticed that there are no shims created for the programs.. So either one should remove the PREFIX=$PWD from make'' or add some sbin'' ices. For the pcre2 package one should rather remove the PREFIX… because otherwise it wouldn't be found by ctags, plus there's the reverse order (pcre2 should go first).

psprint avatar Sep 17 '22 15:09 psprint

Okay, will update them.

FWIW, you can clone the wiki and add them.

Wiki URL: https://github.com/zdharma-continuum/zinit.wiki.git

vladdoster avatar Oct 29 '22 22:10 vladdoster