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
It is boring to add **/… before each binary name, like e.g.: sbin'**/exa'.
Motivation and Context
It allows to simply do sbin'exa' instead of sbin'**/exa'.
Related Issue(s)
Usage examples
zi null sbin'exa' for ogham/exa
# Or even with `sbin''` empty as the plugin name matches the binary:
zi null sbin for ogham/exa
How Has This Been Tested?
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[x] My change requires a change to the documentation.
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
It is boring to add
**/…
before each binary name, like e.g.:sbin'**/exa'
.Motivation and Context
It allows to simply do
sbin'exa'
instead ofsbin'**/exa'
.Related Issue(s)
Usage examples
How Has This Been Tested?
Types of changes
Checklist: