bat
Summary
Section titled “Summary”Installs the bat binary (a cat clone with syntax highlighting and Git integration) from a GitHub release, making it available on $PATH via an lbin shim.
Syntax / Usage
Section titled “Syntax / Usage”zi for \ from'gh-r' \ lbin'!' \ id-as \ null \ @sharkdp/batDetails
Section titled “Details”from'gh-r'— downloads the release archive from GitHub Releases.lbin'!'— installs a lazy binary shim for the extractedbatbinary (requireszinit-annex-bin-gem-node). The!flag causes the shim name to be derived automatically from the binary name.id-as— uses the repository name as the plugin ID (no explicit alias needed).null— disables sourcing of any.zshscript and suppresses completion installation; used when only a binary is needed.
The annex zdharma-continuum/zinit-annex-bin-gem-node must be loaded before this recipe.
Examples
Section titled “Examples”# prerequisite — load once at the top of .zshrczinit light-mode for zdharma-continuum/zinit-annex-bin-gem-node
zi for \ from'gh-r' \ lbin'!' \ id-as \ null \ @sharkdp/bat