bpick
Summary
Section titled “Summary”bpick'' selects which asset to download from a GitHub Releases page when using
from"gh-r". It is a glob pattern matched against the asset filenames.
Syntax / Usage
Section titled “Syntax / Usage”zi ice from"gh-r" bpick"*linux*"zi ice from"gh-r" bpick"*Darwin*"zi ice from"gh-r" bpick"*x86_64*"Details
Section titled “Details”When from"gh-r" is used, a GitHub Release may contain multiple assets for different
platforms (Linux, macOS, Windows, architectures). bpick'' filters by a glob pattern
so only the matching asset is downloaded.
Without bpick'', Zinit attempts to auto-detect the correct asset by matching the OS
name and architecture against asset filenames. Explicit bpick'' overrides that
heuristic.
Does not work with snippets.
Examples
Section titled “Examples”# Explicitly select Linux asset for docker-composezi ice from"gh-r" as"program" mv"docker* -> docker-compose" bpick"*linux*"zi load docker/composeSee Also
Section titled “See Also”- from
- ver
- mv
- as