zdharma-continuum / zinit-annex-bin-gem-node

Unmaintained mirror of zinit-zsh/z-a-bin-gem-node
Other
7 stars 9 forks source link

feat: Make any binary name given to sbin'' ice be searched via preceding **/… #21

Closed psprint closed 1 year ago

psprint commented 1 year ago

This allows to simply leave the ice empty, to find /$id_as or /$plugin, or specify a binary name without need to give it a **/… glob, because it is boring to do, as someone once noted (didn't find the post).

Second change is a new "1:…" option to limit the number of shims created to only 1. So, e.g.: sbin'1:exa*' to have only first, shortest path exa found be given a shim.

Description

Motivation and Context

Related Issue(s)

Usage examples

How Has This Been Tested?

Types of changes

Checklist:

psprint commented 1 year ago

@vladdoster: I've submitted the changes from #15 again.